TF Problem
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
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 .
Input
One line of characters of length no more than characters.
Output
Print the index of the last T character. Or print if T character dosen't exists.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 1K
Acceptance rate 47%