spoj; solve "Factorial"