Solving VERY EASY with Java BigInteger... something to learn if you only expect to ever use C/C++