An -character string consisting of a block of T characters followed by a block of F characters. Find the index of the last T or print if one dosen't exists. Indexation in the string starts from .
One line of characters of length no more than characters.
Print the index of the last T character. Or print if T character dosen't exists.