def fact(n):
    product = 1
    for i in range(n):
        product = product * (i + 1)
    return product


n = int(input())
print(fact(n))

2c106f7147de52cca6207a4d5aa2356c4a4fed45
<mask token>

def fact(n):
    product = 1
    for i in range(n):
        product = product * (i + 1)
    return product


<mask token>

def fact(n):
    product = 1
    for i in range(n):
        product = product * (i + 1)
    return product


<mask token>
print(fact(n))

def fact(n):
    product = 1
    for i in range(n):
        product = product * (i + 1)
    return product


n = int(input())
print(fact(n))
