n=int(input()) s=list(str(input()) for i in range(n)) S="" for i in range(n): S+=s[i] print(S)