for i= -9 to 9 do for j=1 to 9-abs i do print_int j done done