a="" for _ in range(int(input())):a +=input() print(a)