n = int(input()) s = [input() for _ in range(n)] x = '' for i in s: x += i print(x)