Binary Digits
Statement
Goal
Output the number of 0s in the binary representation of a given nInput
A single line containing an integer n
Output
A single line containing the number of 0s in the binary representation of the number n
Constraints
1<=n<65535
Example
Input
4
Output
2
Game modes
Shortest
Test cases
Starting Small Test
Input
4
Output
2
Getting Bigger Validator
Input
18
Output
3
Ok, that's big enough Test
Input
204
Output
4
Funny Number Validator
Input
69
Output
4
wow Test
Input
19862
Output
7
Hmmmm Validator
Input
1
Output
0
2 Test
Input
2
Output
1
STOP Validator
Input
65534
Output
1
Solution language
Solution
Stub generator input