L=raw_input("")@(!len(R=rstrip(raw_input(L+"\n"))))வரை முடி printf(R+"*"*(find(L,"T")-len(R)+1))