a=input().split()for i in range(len(a)): print(a[i])
first second third
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!