n = int(input()) words = [] for _ in range(n): words.append(input()) for word in words[::2]: print(word)