Easymathconditions
Even Check
Time limit 2 s · Memory 64 MBAcceptance: —Solved by: 0
Statement
You are given one integer n. Print YES if it is even, otherwise NO. Zero counts as even.
Examples
Example 1
Input
4
Output
YES
Example 2
Input
7
Output
NO
Constraints
- -10^18 ≤ n ≤ 10^18