# -*- coding: utf-8 -*- n = int(input()) s = "" for _ in range(n): s += input() print(s)