'''simple docstring'''




import math





def 	_UpperCAmelCase       (				_UpperCamelCase       :      int  )      -> str:
    if number == 0:
        A_      =  '''Zero'''
        return words
    else:
        A_      =  math.logaa(_UpperCamelCase  )
        A_      =  digits + 1
        A_      =  {}
        A_      =  ''''''
        A_      =  '''One'''
        A_      =  '''Two'''
        A_      =  '''Three'''
        A_      =  '''Four'''
        A_      =  '''Five'''
        A_      =  '''Six'''
        A_      =  '''Seven'''
        A_      =  '''Eight'''
        A_      =  '''Nine'''

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

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

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

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

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

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


if __name__ == "__main__":
  import doctest

  doctest.testmod()







'''simple docstring'''




import itertools





def 	_UpperCAmelCase       (				_UpperCamelCase       :      int = 1_00_00_00  )      -> int:
    A_      =  [1]

    for i in itertools.count(len(_UpperCamelCase  )  ):
        A_      =  0
        for j in itertools.count(1  ):
            A_      =  -1 if j % 2 == 0 else +1
            A_      =  (j * j * 3 - j) // 2
            if index > i:
                break
            item += partitions[i - index] * sign
            item %= number
            index += j
            if index > i:
                break
            item += partitions[i - index] * sign
            item %= number

        if item == 0:
            return i
        partitions.append(_UpperCamelCase  )

    return 0


if __name__ == "__main__":
  import doctest

  doctest.testmod()

  print(F"""{solution() = }""")






