A program that receives 10 numbers from the user and calculates their average, then prints the number with the shortest distance to the average. If more than one number has this property, the number listed earlier will be printed.
Only one line contains ten numbers separated by Space
The closest member of the collection is printed to the average.