Files
CodeObject/zeta/py/completed/9086.py
2025-05-07 04:44:30 +09:00

4 lines
75 B
Python

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