n = int(input()) x = [input() for i in range(n)] text = "" for i in range(n): text = text + x[i] print(text)