I need a program **in Python**, which would ask a user to enter multiple numbers into one line, each number separated by a space. Like `Enter your numbers: 2 1 5 8 9 5` and I need for it to print out `[2, 1, 5, 8, 9, 5]`

But the program I made so far does not accept spaces, how do I change that? Also is there a way to make the number go in order like from smallest to biggest?

Here's what I have so far:

```
elx = []

el = input("Enter your numbers: ")
for i in el:
    if el.isdigit():
        elx.append(el)
        break
    if not el.isdigit():
        print ("Number is invalid")
        continue

print (elx)

```