All Digits Even
Submit solution
Points:
100
Time limit:
1.0s
Memory limit:
256M
Author:
Problem types
Allowed languages
Python
Given a non-negative integer \(n\), determine whether every digit in its decimal representation is even. Digit \(0\) is even.
Input
One line containing \(n\).
The input satisfies:
- \(0 \le n \le 10^18\)
Output
Print YES if every digit is even; otherwise, print NO.
Example
Input
2086
Output
YES
Comments