a=int(input())
if a%4==0 and (a%100!=0 or a%400==0):
    print(1)
else:
    print(0)

 

 

 

 

문제 : https://www.acmicpc.net/problem/2753

'Baekjoon > python' 카테고리의 다른 글

[백준 2884번] 알람 시계  (0) 2022.04.14
[백준 14681번] 사분면 고르기  (0) 2022.04.13
[백준 9498번] 시험성적  (0) 2022.04.07
[백준 1330번] 두 수 비교하기  (0) 2022.04.07
[백준 2588번] 곱셈  (0) 2022.04.07

+ Recent posts