for i in range(1000): n, k = map(int,input().split()) print(500)