a = int(input()) b = int(input()) for i in range(a, b+1, 60): print(f"All positions change in year {i}")