Determine the last three digits

of 2^5+3^5+4^5+......+10,000,000^5
+ 2^7+3^7+4^7+......+10,000,000^7

998