for _ in range(3600): print(0)