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