





'''simple docstring'''






def    UpperCamelCase__      (		lowerCAmelCase  ):





      """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()













"""simple docstring"""




import os





def 						UpperCAmelCase__		(     ):






  """simple docstring"""





  A_  :       Any										=  os.path.join(os.path.dirname(_UpperCAmelCase					) ,					'num.txt'					)
  with open(_UpperCAmelCase					) as file_hand:
    return str(sum(int(_UpperCAmelCase					) for line in file_hand					)					)[:10]


if __name__ == "__main__":
   print(solution())