e-olymp
Competitions

Programming Principles 1. Week 2. September 9 - 15. PART 2

All digits are even

Four-digit number is given. Check whether all its digits are even.

Input

One four-digit number.

Output

Print "YES" if all digits of the given number are even. Print "NO" otherwise.

Time limit 1 second
Memory limit 128 MiB
Input example #1
3456
Output example #1
NO
Input example #2
6082
Output example #2
YES