eolymp
bolt
Try our new interface for solving problems
Problems

Is it divisible by 2, 4 and 8?

Is it divisible by 2, 4 and 8?

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.

Time limit 1 second
Memory limit 128 MiB
Input example #1
16
Output example #1
Yes
Yes
Yes
Input example #2
7135618
Output example #2
Yes
No
No