Result

AC

Duration

526ms

Code [DL]

<?php
$s=substr_count(readline(),"tokyo");for($i=0;$i<$s;$i++)echo"T";

stdin

tokyokyototokyokyotototokyotokyokyokyotokyokyototo

stdout

TTTTT

stderr

strace