print("0\n"*3600)