Is it divisible by 5 and 10?
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
One number is given. Find, is it divisible by 5 and by 10.
Input
One number that contains no more than 1000 digits.
Output
In the first line print Yes if it is divisible by 5, otherwise print No. In the second line print Yes if it is divisible by 10, otherwise print No.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 11K
Acceptance rate 27%