

"""simple docstring"""





def   __SCREAMING_SNAKE_CASE  (      A_ ):
	if a < 0:
		raise ValueError('''Input value must be a positive integer''' )
	elif isinstance(A_						,     A_ ):
		raise TypeError('''Input value must be a \'int\' type''' )
	return bin(A_ ).count('''1''' )


if __name__ == "__main__":
							import doctest

							doctest.testmod()











from math import ceil







def    __lowerCamelCase					(							__a   :int = 1_0_0_1    )		->				int:






		"""simple docstring"""

		A__        =   1

		for i in range(1    ,     int(ceil(n / 2.0    )    )    ):
				A__        =   2 * i + 1
				A__        =   2 * i
				A__        =   total + 4 * odd**2 - 6 * even

		return total


if __name__ == "__main__":
					import sys

					if len(sys.argv) == 1:
										print(solution())
					else:
										try:
															A    :					List[str] =      int(sys.argv[1])
															print(solution(n))
										except ValueError:
															print('''Invalid entry - please enter a number''')



