In your code, you wrote these lines:
lst=int(input("ENTER A LIST:\n"))
This doesn't work, because the int function will not be able to read a string with several numbers (like 5 8 2 5 1) as *one* int.
First, you would have to split the string.
lst=input("ENTER A LIST:\n").split()
Now it is already a list of the inputs, split by white space (7 5 3 becomes ['7', '5', '3']).
Now you have a list of number string, on which you can, for example in a loop, apply int().
To get multiple inputs you can use this bit::
str=input(" ").split(' ')
var=[int(num) for num in str]
This code will store all input seperated by "space" into var array.
And you can retrieve individual values using for and while loop.