{"raw_statement":[{"iden":"problem statement","content":"Three people live in Takahashi's house: Takahashi, his father, and his mother. All of them wash their hair in the bathroom each night.  \nHis father, his mother, and Takahashi take a bath in this order and use $A$, $B$, and $C$ milliliters of shampoo, respectively.\nThis morning, the bottle contained $V$ milliliters of shampoo. Without refilling, who will be the first to run short of shampoo to wash their hair?"},{"iden":"constraints","content":"*   $1 \\leq V,A,B,C \\leq 10^5$\n*   All values in input are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$V$ $A$ $B$ $C$"},{"iden":"sample input 1","content":"25 10 11 12"},{"iden":"sample output 1","content":"T\n\nNow, they have $25$ milliliters of shampoo.\n\n*   First, Takahashi's father uses $10$ milliliters, leaving $15$.\n*   Next, Takahashi's mother uses $11$ milliliters, leaving $4$.\n*   Finally, Takahashi tries to use $12$ milliliters and runs short of shampoo since only $4$ is remaining."},{"iden":"sample input 2","content":"30 10 10 10"},{"iden":"sample output 2","content":"F\n\nNow, they have $30$ milliliters of shampoo.\n\n*   First, Takahashi's father uses $10$ milliliters, leaving $20$.\n*   Next, Takahashi's mother uses $10$ milliliters, leaving $10$.\n*   Then, Takahashi uses $10$ milliliters, leaving $0$.\n*   Next day, Takahashi's father tries to use $10$ milliliters and runs short of shampoo since only $0$ is remaining."},{"iden":"sample input 3","content":"100000 1 1 1"},{"iden":"sample output 3","content":"M"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}