

def 					__lowercase      (     _A			)     ->						int:
      SCREAMING_SNAKE_CASE :      Union[str, Any]       =   1
      for i in range(1						,    num + 1			):
            fact *= i
      return fact






def 					__lowercase      (     _A			)     ->						int:
      SCREAMING_SNAKE_CASE :      Dict       =   0
      while number > 0:
            SCREAMING_SNAKE_CASE :      List[Any]       =   number % 10
            sum_of_digits += last_digit
            SCREAMING_SNAKE_CASE :      List[Any]       =   number // 10  # Removing the last_digit from the given number
      return sum_of_digits






def 					__lowercase      (     _A = 100			)     ->						int:
      SCREAMING_SNAKE_CASE :      str       =   factorial(_A			)
      SCREAMING_SNAKE_CASE :      int       =   split_and_add(_A			)
      return result


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







from __future__ import annotations






def 					__lowercase      (     _A						,    _A			)     ->						list[str]:
      if nth_term == "":
            return [""]
      SCREAMING_SNAKE_CASE :      Optional[Any]       =   int(_A			)
      SCREAMING_SNAKE_CASE :      Optional[int]       =   int(_A			)
      SCREAMING_SNAKE_CASE :      list[str]       =   []
      for temp in range(int(_A			)			):
            series.append(F"1 / {pow(temp + 1						,    int(_A			)			)}" if series else """1"""			)
      return series


if __name__ == "__main__":
  import doctest

  doctest.testmod()

  UpperCAmelCase__ :     Dict				    =    int(input("""Enter the last number (nth term) of the P-Series"""))
  UpperCAmelCase__ :     Optional[int]				    =    int(input("""Enter the power for  P-Series"""))
  print("""Formula of P-Series => 1+1/2^p+1/3^p ..... 1/n^p""")
  print(p_series(nth_term, power))




