from pip._vendor.distlib.compat import raw_input N = int(raw_input()) result = "" for i in range(N): s = str(raw_input()) result += s print(result)