Is it divisible by 3, 6 and 9?#4734

Is it divisible by 3, 6 and 9?

1 second
122.174 megabytes
Very easy (≈850)

One integer number is given. Check whether it is divisible by , by , and by .

Input

One integer that contains no more than digits.

Output

Print in the first line Yes if the number is divisible by , otherwise print No.

Print in the second line Yes if the number is divisible by , otherwise print No.

Print in the third line Yes if the number is divisible by , otherwise print No.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading