# -*- coding: utf-8 -*-
"""
Created on Mon Jun  3 05:39:10 2019

@author: kunal
"""

import math
dir (math)
help(math.factorial)
num=int(input("enter the number"))
print(math.factorial(num))

      
      