firstNum = input('Enter a number:\n')
secondNum = input('Enter a number:\n')
thirdNum = input('Enter a number:\n')
numList = [firstNum, secondNum, thirdNum]
numList.sort()
print(numList[0],',', numList[1],',', numList[2])

# The printed result is listed below. Not part of the code
# Enter a number:
# 5
# Enter a number:
# 2
# Enter a number:
# 9
# 2 , 5 , 9
