for line in range(1000): buf = input() print("500")