A user inputs a positive BigInteger number M. You need to find out what is the smallest long n, so that n! >= M.
Use the BigInteger class to solve the problem. Otherwise, your solution won't pass all the tests.
Do not forget to import all the needed classes.
Just in case: wiki on factorials.