Divisibility rule#4757

Divisibility rule

1 segundo
128 megabytes
Media (≈1350)

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

Entrada

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

Salida

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

Ejemplos

Ejemplo 1

Loading
Loading

Ejemplo 2

Loading
Loading