Write a number from 0 to 999999999


Code modified from Salman and McShaman