
def 		_lowerCamelCase       (   _a  ):
  """simple docstring"""




  if number != int(_a  ):
    raise ValueError('''factorial() only accepts integral values'''  )
  if number < 0:
    raise ValueError('''factorial() not defined for negative values'''  )
  _lowerCamelCase      =						1
  for i in range(1			,   number + 1  ):
    value *= i
  return value


def 		_lowerCamelCase       (   _a  ):
  """simple docstring"""




  if not isinstance(_a			,   _a  ):
    raise ValueError('''factorial() only accepts integral values'''  )
  if n < 0:
    raise ValueError('''factorial() not defined for negative values'''  )
  return 1 if n == 0 or n == 1 else n * factorial(n - 1  )


if __name__ == "__main__":
  import doctest

  doctest.testmod()

  _UpperCAmelCase    			=					int(input("Enter a positive integer: ").strip() or 0)
  print(F'factorial{n} is {factorial(n)}')






"""simple docstring"""




def 				a__			(					lowerCAmelCase						:							str							,     lowerCAmelCase						:							int = 13		):






     '''simple docstring'''
     UpperCAmelCase__				:			Any							=    ""
     for c in s:
          if "A" <= c <= "Z":
               out += chr(ord("A"		) + (ord(lowerCAmelCase		) - ord("A"		) + n) % 26		)
          elif "a" <= c <= "z":
               out += chr(ord("a"		) + (ord(lowerCAmelCase		) - ord("a"		) + n) % 26		)
          else:
               out += c
     return out



def 				a__			(					):






     '''simple docstring'''
     UpperCAmelCase__				:			Optional[int]							=    input("Enter message: "		)

     UpperCAmelCase__				:			Optional[Any]							=    dencrypt(lowerCAmelCase							,     13		)
     print("Encryption:"							,     lowerCAmelCase		)

     UpperCAmelCase__				:			List[str]							=    dencrypt(lowerCAmelCase							,     13		)
     print("Decryption: "							,     lowerCAmelCase		)


if __name__ == "__main__":
    import doctest

    doctest.testmod()
    main()



