class Problem0597: def solve(this): n = int(input()) res = "" for i in range(0, n): res += input() print(res) if __name__ == "__main__": problem = Problem0597() problem.solve()