def main(): for num in range(100): print(num, num, flush=True) dist = input() if dist == 0: return if __name__ == "__main__": main()