Simple input error 2

the only problem with my code is that it does not take store input from a newline in the list"numbers". it only takes input from a single line . please help me with the problem .how can it be resolved