#Here is the Input Enter a number (999) to quit 1 2 3 4 999