import math
n=1
for x in range (3):
        n=n*(x+1)
print(n)