def f n,h="" n>?0&&"1".upto("3"){|i|puts$t=h+i f~-n," #$t."}end f getc