
"""simple docstring"""





import unittest

from transformers import load_tool

from .test_tools_common import ToolTesterMixin






class        _UpperCAmelCase(       unittest.TestCase ,	lowerCamelCase      ):



		def 		UpperCAmelCase				(   self)			->			List[Any]:






							'''simple docstring'''
							_UpperCamelCase									=    load_tool('''text-classification''')
							self.tool.setup()
							_UpperCamelCase									=    load_tool('''text-classification'''							,						remote=__a)



		def 		UpperCAmelCase				(   self)			->			List[Any]:






							'''simple docstring'''
							_UpperCamelCase									=    self.tool('''That\'s quite cool'''							,						['''positive''', '''negative'''])
							self.assertEqual(__a							,						'''positive''')



		def 		UpperCAmelCase				(   self)			->			int:






							'''simple docstring'''
							_UpperCamelCase									=    self.remote_tool('''That\'s quite cool'''							,						['''positive''', '''negative'''])
							self.assertEqual(__a							,						'''positive''')



		def 		UpperCAmelCase				(   self)			->			Dict:






							'''simple docstring'''
							_UpperCamelCase									=    self.tool(text='''That\'s quite cool'''							,						labels=['''positive''', '''negative'''])
							self.assertEqual(__a							,						'''positive''')




		def 		UpperCAmelCase				(   self)			->			Optional[Any]:






							'''simple docstring'''
							_UpperCamelCase									=    self.remote_tool(text='''That\'s quite cool'''							,						labels=['''positive''', '''negative'''])
							self.assertEqual(__a							,						'''positive''')










def 						_lowerCAmelCase							(     _lowerCAmelCase = 1000			)    ->						int:


						'''simple docstring'''






						__snake_case				=		2**power
						__snake_case				=		str(_lowerCAmelCase			)
						__snake_case				=		list(_lowerCAmelCase			)
						__snake_case				=		0

						for i in list_num:
												sum_of_num += int(_lowerCAmelCase			)

						return sum_of_num


if __name__ == "__main__":
	A				:       Optional[Any]      =  int(input('Enter the power of 2: ').strip())
	print('2 ^ ', power, ' = ', 2**power)
	A				:       List[Any]      =  solution(power)
	print('Sum of the digits is: ', result)





