eolymp
bolt
Try our new interface for solving problems
Problems

Divisibility rule

Divisibility rule

Time limit 1 second
Memory limit 128 MiB

The number n is represented in binary notation. Determine if it is divisible by 15.

Input data

One number n (the length of the number does not exceed 10000 binary digits).

Output data

Print YES, if number n is divisible by 15, and NO otherwise.

Examples

Input example #1
1111
Output example #1
YES
Input example #2
10100000101
Output example #2
NO