updated to print next 10 numbers after input values
added evaulation for numbers that do not have a % of 0