by@akouryy1
AC
1562ms
console.log((""+require('fs').readFileSync(0)).replace(/([^T]{50})./g,"$1T").replace(/(?<=K.*) (?=.*T)/g,0))
T K
T T T T T T T T T T T T T T T T T K0000000000000000000000000000000000000T