Skip to content

Terms of Office

1. Problem

해당 문제는 여기에서 확인하실 수 있습니다.

2. Answer

X = int(input())
Y = int(input())

LCM = 60  # 4, 2, 3, 5의 최소공배수

for year in range(X, Y + 1):
    if (year - X) % LCM == 0:
        print(f"All positions change in year {year}")