#abc267a. A - Saturday
A - Saturday
Score : points
问题描述
有一天,从学校回来感到疲惫的高桥想知道距离周六还有多少天。
我们知道那天是工作日,并且那一天在英语中被称为 。
请问从那一天开始(包括周六但不包括当天)到第一个周六有多少天?
以上为通义千问 qwen-max 翻译,仅供参考。
Problem Statement
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 in English.
How many days were there until the first Saturday after that day (including Saturday but not the starting day)?
Constraints
- is
Monday
,Tuesday
,Wednesday
,Thursday
, orFriday
.
Input
Input is given from Standard Input in the following format:
Output
Print the answer as an integer.
Sample Input 1
Wednesday
Sample Output 1
3
It was Wednesday, so there were days until the first Saturday after that day.
Sample Input 2
Monday
Sample Output 2
5
update @ 2024/3/10 11:15:57