Tommy loves Christmas very much! December 31 this year falls on a Saturday. Tommy wanted to know how many days until December 31st. We know that today is a weekday
S (in English) and December 31st is already this week on Saturday. Help Tommy determine how many days until December 31 after today (counting December 31, but not counting today
S)?
Input
The input is the string
S (
S can be
Monday(Monday),
Tuesday(Tuesday ),
Wednesday(Wednesday),
Thursday(Thursday) or
Friday(Friday)).
Imprint
Display the answer to the problem
Use nested conditions (
elif for Python and
else if for other languages).
Examples
| # |
Input |
Output |
| 1 |
Wednesday
|
3
|