BigInteger Integer and int are three different things.
Not much can be said without a clear description of the rules
If all else fails paste the instructions to your assignment with your question