{"raw_statement":[{"iden":"problem statement","content":"One day, tired from going to school, Takahashi wanted to know how many days there were until Saturday.  \nWe know that the day was a weekday, and the name of the day of the week was $S$ in English.  \nHow many days were there until the first Saturday after that day (including Saturday but not the starting day)?"},{"iden":"constraints","content":"*   $S$ is `Monday`, `Tuesday`, `Wednesday`, `Thursday`, or `Friday`."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$S$"},{"iden":"sample input 1","content":"Wednesday"},{"iden":"sample output 1","content":"3\n\nIt was Wednesday, so there were $3$ days until the first Saturday after that day."},{"iden":"sample input 2","content":"Monday"},{"iden":"sample output 2","content":"5"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}