{"raw_statement":[{"iden":"problem statement","content":"Takahashi and Aoki played $N$ games. You are given a string $S$ of length $N$, representing the results of these games. Takahashi won the $i$\\-th game if the $i$\\-th character of $S$ is `T`, and Aoki won that game if it is `A`.\nThe overall winner between Takahashi and Aoki is the one who won more games than the other. If they had the same number of wins, the overall winner is the one who reached that number of wins first. Find the overall winner: Takahashi or Aoki."},{"iden":"constraints","content":"*   $1\\leq N \\leq 100$\n*   $N$ is an integer.\n*   $S$ is a string of length $N$ consisting of `T` and `A`."},{"iden":"input","content":"The input is given from Standard Input in the following format:\n\n$N$\n$S$"},{"iden":"sample input 1","content":"5\nTTAAT"},{"iden":"sample output 1","content":"T\n\nTakahashi won three games, and Aoki won two. Thus, the overall winner is Takahashi, who won more games."},{"iden":"sample input 2","content":"6\nATTATA"},{"iden":"sample output 2","content":"T\n\nBoth Takahashi and Aoki won three games. Takahashi reached three wins in the fifth game, and Aoki in the sixth game. Thus, the overall winner is Takahashi, who reached three wins first."},{"iden":"sample input 3","content":"1\nA"},{"iden":"sample output 3","content":"A"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}