n=int(input());a='' s=[input() for _ in '1'*n] for i in s: a+=i print(a)