a=int(input()) s="" for i in range(a): s+=str(input()) print(s)