N = input() print ''.join(raw_input().rstrip() for s in xrange(N))