N = int(input()) print(*(input() for i in range(N)), sep='')