Agorithm/Codeforces

4A-Watermelon

kimjinho1 2021. 2. 16. 01:08
728x90
반응형

문제 주소: codeforces.com/problemset/problem/4/A

2보다 큰 짝수는 모두 두 개의 짝수로 나뉜다는 점만 알면 쉽게 풀 수 있다.

w = int(input())
print("YES" if w > 2 and w%2 == 0 else "NO")

 

728x90
반응형