
"""simple docstring"""




from abc import ABC, abstractmethod
from argparse import ArgumentParser







class   _lowercase						(       _UpperCAmelCase				):


     '''simple docstring'''





     @staticmethod
     @abstractmethod
     def  lowerCAmelCase__       (      __UpperCamelCase  )->					List[str]:
          raise NotImplementedError()



     @abstractmethod
     def  lowerCAmelCase__       (      self  )->					Tuple:
          raise NotImplementedError()





"""simple docstring"""




def 							a__ (				lowerCAmelCase	:       int		):






     '''simple docstring'''
     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()



