s="" for _ in[0]*int(input()):s+=input() print(s)