a=input().split( )
b=[int(i) for i in a]
print(b)

python这么方便吗 for i in xx就能遍历啦????