s="" for i in [0]*int(input()): t=input() s=s+t print(s)