Files
CodeObject/storage/zeta/py/completed/9086.py

4 lines
75 B
Python

N = int(input())
for i in range(N):
s = input()
print(s[0] + s[-1])