6 lines
89 B
Python
6 lines
89 B
Python
y=int(input())
|
|
|
|
if (y%4==0 and not y%100==0) or y%400==0:
|
|
print(1)
|
|
else:
|
|
print(0) |