4 lines
75 B
Python
4 lines
75 B
Python
N = int(input())
|
|
for i in range(N):
|
|
s = input()
|
|
print(s[0] + s[-1]) |