359 - Divisible by 2
Divisible by 2
Time Limit: 1 sec
The Problem
A number is divisible by 2 if the last digit is even (0, 2, 4, 6 or 8).
Make a simple program that reads an integer number N and print "YES" if the number is divisible by 2 otherwise print "NO".
The Input
Input file contain a series of line, each line contain one integer number N (0<N<=1000000000000). Input is terminated by EOF.
The Output
For each line of input, print "YES" if the number is divisible by 2 otherwise print "NO" in a separate line.
Sample Input
100000000000
1333
2006
Sample Output
YES
NO
YES
Problem Setter: Shahin ShamS