Given an integer N(0 ≤ N ≤ 1000), your task is to calculate N!
One N in one line, process to the end of file.
For each N, output N! in one line.
1 2 3
1 2 6