import std.stdio;void main(){foreach(i;-9..9)foreach(j;1..10-(i>0?i:-i))write(j);}