set n [expr [gets stdin]-2];set a [string repe 1 $n]11;puts [expr $n<0?{1}:{$a\n[string repe "1[string repe {0} $n]1\n" $n]$a}]