include "primitives.alh"

Integer function factorial(n : Integer):
	if(n <= 1):
		return 1!
	else:
		return n * factorial(n - 1)!

Void function main():
	while(True):
		output(factorial(input()))

	return!
