Solve Two Characters

Print the length of the longest possible string $t$ you can form. Solving code challenges on HackerRank is one of the best ways to prepare for programming interviews.