Factorial factorisation

SPOJ - PRIME