






import math
def        a_	( _A					)     ->     str:







				"""simple docstring"""
				if number == 0:
								snake_case__													=       'Zero'
								return words
				else:
								snake_case__													=       math.logaa(_A					)
								snake_case__													=       digits + 1
								snake_case__													=       {}
								snake_case__													=       ''
								snake_case__													=       'One'
								snake_case__													=       'Two'
								snake_case__													=       'Three'
								snake_case__													=       'Four'
								snake_case__													=       'Five'
								snake_case__													=       'Six'
								snake_case__													=       'Seven'
								snake_case__													=       'Eight'
								snake_case__													=       'Nine'

								snake_case__													=       {}
								snake_case__													=       ''
								snake_case__													=       'Twenty'
								snake_case__													=       'Thirty'
								snake_case__													=       'Forty'
								snake_case__													=       'Fifty'
								snake_case__													=       'Sixty'
								snake_case__													=       'Seventy'
								snake_case__													=       'Eighty'
								snake_case__													=       'Ninety'

								snake_case__													=       {}
								snake_case__													=       'Ten'
								snake_case__													=       'Eleven'
								snake_case__													=       'Twelve'
								snake_case__													=       'Thirteen'
								snake_case__													=       'Fourteen'
								snake_case__													=       'Fifteen'
								snake_case__													=       'Sixteen'
								snake_case__													=       'Seventeen'
								snake_case__													=       'Eighteen'
								snake_case__													=       'Nineteen'

								snake_case__													=       {}
								snake_case__													=       'Hundred,'
								snake_case__													=       'Thousand,'
								snake_case__													=       'Lakh,'
								snake_case__													=       'Crore,'

								snake_case__													=       number
								snake_case__													=       ''
								snake_case__													=       0
								snake_case__													=       int(_A					)
								while counter < digits:
												snake_case__													=       temp_num % 10
												if counter % 2 == 0:
																snake_case__													=       ''
																if counter in placevalue and current != 0:
																				snake_case__													=       placevalue[counter]
																if counter == 2:
																				snake_case__													=       singles[current] + addition + words
																elif counter == 0:
																				if ((temp_num % 100) // 10) == 1:
																								snake_case__													=       teens[current] + addition + words
																								snake_case__													=       temp_num // 10
																								counter += 1
																				else:
																								snake_case__													=       singles[current] + addition + words

																else:
																				snake_case__													=       doubles[current] + addition + words

												else:
																if counter == 1:
																				if current == 1:
																								snake_case__													=       teens[number % 10] + words
																				else:
																								snake_case__													=       ''
																								if counter in placevalue:
																												snake_case__													=       placevalue[counter]
																								snake_case__													=       doubles[current] + addition + words
																else:
																				snake_case__													=       ''
																				if counter in placevalue:
																								if current == 0 and ((temp_num % 100) // 10) == 0:
																												snake_case__													=       ''
																								else:
																												snake_case__													=       placevalue[counter]
																				if ((temp_num % 100) // 10) == 1:
																								snake_case__													=       teens[current] + addition + words
																								snake_case__													=       temp_num // 10
																								counter += 1
																				else:
																								snake_case__													=       singles[current] + addition + words
												counter += 1
												snake_case__													=       temp_num // 10
				return words


if __name__ == "__main__":
							import doctest

							doctest.testmod()












def        a_	( _A ,				_A					)     ->     Union[str, Any]:







				"""simple docstring"""
				snake_case__													=       1
				while b > 0:
								if b & 1:
												res *= a

								a *= a
								b >>= 1

				return res
def        a_	( _A ,				_A ,				_A					)     ->     Dict:







				"""simple docstring"""
				snake_case__													=       1
				while b > 0:
								if b & 1:
												snake_case__													=       ((res % c) * (a % c)) % c

								a *= a
								b >>= 1

				return res




