
'''simple docstring'''
def        A_     (						__SCREAMING_SNAKE_CASE						:  list			,     __SCREAMING_SNAKE_CASE						:  list			,     __SCREAMING_SNAKE_CASE						:  int )				->       list:





  """simple docstring"""

  __A		:     Union[str, Any]												=		len(__SCREAMING_SNAKE_CASE )
  __A		:     Any												=		[[0] * n for i in range(__SCREAMING_SNAKE_CASE )]
  for i in range(__SCREAMING_SNAKE_CASE ):
    __A		:     Optional[int]												=		y_points[i]

  for i in range(2			,     __SCREAMING_SNAKE_CASE ):
    for j in range(__SCREAMING_SNAKE_CASE			,     __SCREAMING_SNAKE_CASE ):
      __A		:     List[str]												=		(
          (xa - x_points[j - i + 1]) * q[j][i - 1]
          - (xa - x_points[j]) * q[j - 1][i - 1]
      ) / (x_points[j] - x_points[j - i + 1])

  return [q[n - 1][n - 1], q]


if __name__ == "__main__":
     import doctest

     doctest.testmod()





'''simple docstring'''
def        A_     (						__SCREAMING_SNAKE_CASE						:  int )				->       int:





  """simple docstring"""

  __A		:     Optional[int]												=		1
  for i in range(1			,     num + 1 ):
    fact *= i
  return fact







def        A_     (						__SCREAMING_SNAKE_CASE						:  int )				->       int:





  """simple docstring"""

  __A		:     List[str]												=		0
  while number > 0:
    __A		:     Union[str, Any]												=		number % 10
    sum_of_digits += last_digit
    __A		:     int												=		number // 10  # Removing the last_digit from the given number
  return sum_of_digits







def        A_     (						__SCREAMING_SNAKE_CASE						:  int = 100 )				->       int:





  """simple docstring"""

  __A		:     Union[str, Any]												=		factorial(__SCREAMING_SNAKE_CASE )
  __A		:     Any												=		split_and_add(__SCREAMING_SNAKE_CASE )
  return result


if __name__ == "__main__":
     print(solution(int(input('Enter the Number: ').strip())))



