#P267. 【例44.2】 1的个数

【例44.2】 1的个数

Description

Given a non-negative decimal integer NN, find the number of 11's in its binary representation.

Input Format

A single line containing a non-negative integer NN (N109N≤10^9).

Output Format

A single line containing an integer representing the number of 11's in the binary representation of NN.

Sample

100
3