Divisibility rule
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
The number n is represented in binary notation. Determine if it is divisible by 15.
Input
One number n (the length of the number does not exceed 10000 binary digits).
Output
Print YES, if number n is divisible by 15, and NO otherwise.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 2K
Acceptance rate 23%