new_contents: #!/bin/python3
  
  import math
  import os
  import random
  import re
  import sys
  
  # Complete the factorial function below.
  def factorial(n):
      x = 0
      factorial = 1
      while x != n:
          x += 1
          factorial = factorial * x
      return(factorial)
      
  if __name__ == '__main__':
      fptr = open(os.environ['OUTPUT_PATH'], 'w')
  
      n = int(input())
  
      result = factorial(n)
  
      fptr.write(str(result) + '\n')
  
      fptr.close()
  
subject: Create HR_Recursion3.py