s = "" for _ in range(int(input())): s += input() print(s)