Input a maximum 7 digit number
minimum value = 10
maximum value = 9999999