s = '' for i in range(int(input())): s += input() print(s)