when I give these inputs to list:

```none
List: 123 234 543 2 22 9
min = 123, max = 9

```

it returns 123 as min and 9 as a max number where as it should be 543 as max and 2 as min 

```
while True:
    input_string = input("List: ")
    if not input_string:
            exit()
    ListArray = input_string.split()
    max_value = max(ListArray)
    min_value = min(ListArray)
    print("min = {}, max = {}" .format(min_value, max_value))

```

I expect the output to be 543 as max and 2 as min