For any $N$, let $f(N)$ be the last five digits before the trailing zeroes in $N!$. For example,
Find $f(1\,000\,000\,000\,000)$.