/* Simple Factorial ... */ int factorial(int x) { if (x == 0) return 1; return x * factorial(x-1); } void main() { int x = factorial(Read()); Print(x); Println(); }