Check Divisibility By 3
easy
1. You are given a binary string which represents a number. 2. You have to check whether this number is divisible by 3 or not. 3. Print 'true' if it is divisible by 3, otherwise print 'false'.
Constraints
1 <= length of binary string <= 10000
Format
Input
A binary string
Output
true or false
Example
Sample Input
10010101010001
Sample Output
false