728x90
반응형
문제 주소: codeforces.com/problemset/problem/4/A
2보다 큰 짝수는 모두 두 개의 짝수로 나뉜다는 점만 알면 쉽게 풀 수 있다.
w = int(input())
print("YES" if w > 2 and w%2 == 0 else "NO")
728x90
반응형
'Agorithm > Codeforces' 카테고리의 다른 글
50A-Domino piling (0) | 2021.02.16 |
---|---|
158A-Next Round (0) | 2021.02.16 |
231A-Team (0) | 2021.02.16 |
1A-Theatre Square (0) | 2021.02.16 |
71A-Way Too Long Words (0) | 2021.02.16 |