n = int(input()) s = [input() for _ in range(n)] print(''.join(s))