# your code goes heret=int(input())for i in range(t): a = input() print(a[:int(len(a)/2)])
3 pierwszy lubiec ktotozrobi
pier lub ktoto
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!