N = int(input())
str = ""
for i in range(N):
	str += input()
print (str)