#55114: python新手解法


ka2453@cnc.km.edu.tw (金湖國中Owen)


name=input().split()#以空白分割
for i in range(len(name)):#重複name長度
 print(name[i])#輸出項目