#include <stdio.h>
int getOneNumber(int number)
{
if(number==1) return 1;
if(number==0) return 0;
return number%2+getOneNumber(number/2);
}
int main()
{
int inputNumber,oneNumber;
scanf("%d",&inputNumber);
oneNumber=getOneNumber(inputNumber);
printf("OneNumber:%d",oneNumber);
return 0;
}
int getOneNumber(int number)
{
if(number==1) return 1;
if(number==0) return 0;
return number%2+getOneNumber(number/2);
}
int main()
{
int inputNumber,oneNumber;
scanf("%d",&inputNumber);
oneNumber=getOneNumber(inputNumber);
printf("OneNumber:%d",oneNumber);
return 0;
}