by@akouryy1
AC
917ms
print$a=<>;<>;$c=$_,print$a for<>;$_=$a^$c;tr/\0/ /;0while s/k /kk/;print
T K
T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T kkkkkkkkkkkkkkkkkkkkkt