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}]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page