





'''simple docstring'''

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


if __name__ == "__main__":
  import doctest

  doctest.testmod()










'''simple docstring'''

def 						UpperCamelCase    (							_lowerCamelCase : int	):

    if not isinstance(_lowerCamelCase						,	_lowerCamelCase	):
        A__    =      F"Input value of [number={number}] must be an integer"
        raise TypeError(_lowerCamelCase	)

    if number < 1:
        A__    =      F"Input value of [number={number}] must be > 0"
        raise ValueError(_lowerCamelCase	)

    A__    =      1

    for i in range(1						,	_lowerCamelCase	):
        current_number *= 4 * i - 2
        current_number //= i + 1

    return current_number


if __name__ == "__main__":
  import doctest

  doctest.testmod()



