import math
product=1
for j in range(3):
        product=product*(j+1)
print(product)   