#include <iostream>
long int factorial(int n)
{
if (n <= 1)
return n;
return n*factorial(n-1);
}
int main()
{
std::cout << "f(1337) = " << factorial (1337);
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKbG9uZyBpbnQgZmFjdG9yaWFsKGludCBuKQp7CiAgICBpZiAobiA8PSAxKQogICAgICAgIHJldHVybiBuOwogICAgcmV0dXJuIG4qZmFjdG9yaWFsKG4tMSk7Cn0KCmludCBtYWluKCkKewogICAgc3RkOjpjb3V0IDw8ICJmKDEzMzcpID0gIiA8PCBmYWN0b3JpYWwgKDEzMzcpOwp9