Is it divisible by 2, 4 and 8?
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Nonnegative integer is given. Is it divisible by 2, by 4 and by 8.
Input
One nonnegative integer, that contains no more than 100 digits.
Output
Print in the first line Yes if the number is divisible by 2, otherwise print No.
Print in the second line Yes if the number is divisible by 4, otherwise print No.
Print in the third line Yes if the number is divisible by 8, otherwise print No.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 25K
Acceptance rate 32%