The title has nothing to do with the problem. The title is named after a football player that problem setter likes, Cristiano Ronaldo.
Given a positive integer , determine whether can be expressed as the sum of two or more consecutive positive integers. That is, determine whether there exists an integer pair satisfying:
Input
A positive integer is given on the first line.
Output
Print YES if an integer pair satisfying the given conditions exists, and NO otherwise.
Constraints
- .
Subtasks
Samples
예제 1
입력
1
출력
NO
예제 2
입력
8
출력
NO
예제 3
입력
9
출력
YES