2024-03-07 23:42:52 +09:00

2 lines
60 B
Python

y = int(input())
print(+(y%400==0 or (y%4==0 and y%100!=0)))