N = [[int(i) for i in input().strip().split(' ')] for _ in range(1000)] print(500)