{"problem":{"name":"Saturday","description":{"content":"One day, tired from going to school, Takahashi wanted to know how many days there were until Saturday.   We know that the day was a weekday, and the name of the day of the week was $S$ in English.   H","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc267_a"},"statements":[{"statement_type":"Markdown","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)?\n\n## Constraints\n\n*   $S$ is `Monday`, `Tuesday`, `Wednesday`, `Thursday`, or `Friday`.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$S$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc267_a","tags":[],"sample_group":[["Wednesday","3\n\nIt was Wednesday, so there were $3$ days until the first Saturday after that day."],["Monday","5"]],"created_at":"2026-03-03 11:01:14"}}