(read)(while(*(round->exact(sqrt(read)))11)=> x(print(+(mod x 10)x)))