n=int(input()) print("UPDATE point SET X=-1771, Y=-514;") for i in range(n): print("SELECT count(*) FROM point WHERE x=890016 AND y=1341398;")