


def 	A (		A__			):
     if not isinstance(A__		,		A__			):
          UpperCAmelCase    :					List[str]			=      f'Input value of [number={number}] must be an integer'
          raise TypeError(A__			)
     if number < 1:
          raise ValueError("Input must be a positive integer"			)
     return number * (2 * number - 1)


if __name__ == "__main__":
      import doctest

      doctest.testmod()







def 	A (		A__			):
     UpperCAmelCase    :					Dict			=      9

     while num > 0:
          if num % 1_0 != digit:
               return False
          num //= 1_0_0
          digit -= 1

     return True







def 	A (		):
     UpperCAmelCase    :					Optional[Any]			=      1_3_8_9_0_2_6_6_3

     while not is_square_form(num * num			):
          if num % 1_0 == 3:
               num -= 6  # (3 - 6) % 10 = 7
          else:
               num -= 4  # (7 - 4) % 10 = 3

     return num * 1_0


if __name__ == "__main__":
      print(f'''{solution() = }''')



