测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A10967. Kids' Riddle

编程题 普及/提高-

题目描述

Programmers' kids solve this riddle in 5-10 minutes. How fast can you do it?

输入格式

The input contains a single integer $n$ ( $0<=n<=2000000000$ ).

输出格式

Output a single integer.

输入输出样例

输入 #1
11
输出 #1
2
输入 #2
14
输出 #2
0
输入 #3
61441
输出 #3
2
输入 #4
571576
输出 #4
10
输入 #5
2128506
输出 #5
3
上一题 去做题 下一题