import sys

for line in sys.stdin:
    a = line.split()
    for x in a:
        print(x)