#include <stdio.h>
int main() {
for (char i
= 0, t
, s
= 0, x
= 1, tmp
; i
< 10; i
++, puts(""), s
&= 1) for (char j = 0; j < 10; j++) {
tmp = (!t || t == 2) && !s && j >= x;
t == 2 && tmp ? s = 1 : 0;
t&& i && !s && j > x ? s = 2, x = j - 1 : 0;
}
return 0;
}
//코드줄이기하청업체위탁생산전문담당1학년2반10번이정혁워터마크박고감
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKCkgewogICAgZm9yIChjaGFyIGkgPSAwLCAgdCwgcyA9IDAsIHggPSAxLCB0bXA7IGkgPCAxMDsgaSsrLCBwdXRzKCIiKSwgcyAmPSAxKSAKICAgIAlmb3IgKGNoYXIgaiA9IDA7IGogPCAxMDsgaisrKSB7CiAgICAgICAgICAgIHNjYW5mKCIlaGhkIiwgJnQpOwogICAgICAgICAgICB0bXAgPSAoIXQgfHwgdCA9PSAyKSAmJiAhcyAmJiBqID49IHg7CiAgICAgICAgICAgIHByaW50ZigiJWhoZCAiLCB0bXAgPyA5IDogdCk7CiAgICAgICAgICAgIHQgPT0gMiAmJiB0bXAgPyBzID0gMSA6IDA7CiAgICAgICAgICAgIHQmJiBpICYmICFzICYmIGogPiB4ID8gcyA9IDIsIHggPSBqIC0gMSA6IDA7CiAgICAgICAgfQogICAgcmV0dXJuIDA7Cn0KLy/svZTrk5zspITsnbTquLDtlZjssq3sl4XssrTsnITtg4Hsg53sgrDsoITrrLjri7Tri7kx7ZWZ64WEMuuwmDEw67KI7J207KCV7ZiB7JuM7YSw66eI7YGs67CV6rOg6rCQ
MSAxIDEgMSAxIDEgMSAxIDEgMQoxIDAgMCAxIDAgMCAwIDAgMCAxCjEgMCAwIDEgMSAxIDAgMCAwIDEKMSAwIDAgMCAwIDAgMCAxIDAgMQoxIDAgMCAwIDAgMCAwIDEgMCAxCjEgMCAwIDAgMCAxIDAgMSAwIDEKMSAwIDAgMCAwIDEgMiAxIDAgMQoxIDAgMCAwIDAgMSAwIDAgMCAxCjEgM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