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:
A positive integer is given on the first line.
Print YES if an integer pair satisfying the given conditions exists, and NO otherwise.
There is an integer such that .
| 5 | 40 | No additional constraints. |