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