Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- q=input
- w=''
- x=''
- n=int(q())
- for i in range(n):l=q();w+=l[i];x+=l[n-i-1]
- print(w,x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement