eolymp
bolt
Try our new interface for solving problems
Problems

Divisibility rule

published at 3/20/24, 1:54:45 pm
n = int(input(),2)
print(*["YES" if n % 15==0 else "NO"])