fork download
  1. # your code goes here
  2. t=int(input())
  3. for i in range(t):
  4. a = input()
  5. print(a[:int(len(a)/2)])
Success #stdin #stdout 0.02s 9992KB
stdin
3
pierwszy
lubiec
ktotozrobi
stdout
pier
lub
ktoto