


import unittest

from transformers import is_torch_available, load_tool

from .test_tools_common import ToolTesterMixin


if is_torch_available():
  import torch







class  lowerCamelCase__  (			unittest.TestCase  ,				lowerCAmelCase):





     def 	__A   (self			)	->  List[str]:
      _lowercase				 =load_tool('''speech-to-text'''			)
      self.tool.setup()





     def 	__A   (self			)	->  Optional[int]:
      _lowercase				 =self.tool(torch.ones(3_0_0_0			)			)
      self.assertEqual(UpperCAmelCase						,	''' you'''			)





     def 	__A   (self			)	->  Any:
      _lowercase				 =self.tool(audio=torch.ones(3_0_0_0			)			)
      self.assertEqual(UpperCAmelCase						,	''' you'''			)





import math
def 							UpperCAmelCase_   (				__snake_case		)	->     int:







 """simple docstring"""


 return sum(int(__snake_case		) for digit in str(__snake_case		)		)
def 							UpperCAmelCase_   (				__snake_case = 30		)	->     int:







 """simple docstring"""


 _lowercase				 =[]
 for digit in range(2	,		100		):
  for power in range(2	,		100		):
   _lowercase				 =int(math.pow(__snake_case	,		__snake_case		)		)
   if digit == digit_sum(__snake_case		):
    digit_to_powers.append(__snake_case		)

 digit_to_powers.sort()
 return digit_to_powers[n - 1]


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

