#include <stdio.h>
#include <stdlib.h>
int main()
{
	int i = 0;
	int x = 1999;
	int y = 2299;
	int count = 0;
	for (i = 0; i < 32; i++)
	{
		if ((x % 2) ^ (y % 2) == 1)
		{
			count++;
		}
			x /=  2;
			y /= 2;
	}
	printf("%d\n", count);
	system("pause");
	return 0;
}