Mariko from above by twobit

p=0
while 1:a=raw_input();c="mokira"[p];p-=c in a;print a.replace(c,c.upper())

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top