No.841 8/32
Problem Statement
You are given the days of the week of 9/1 and 9/2.
If only 9/1 is a Saturday (Sat) or Sunday (Sun), print "8/32"; if both 9/1 and 9/2 are a Saturday or Sunday, print "8/33".
Otherwise, print "8/31".
Note that the days of the week may progress differently from the real world.
Also, of course, words other than Sat and Sun do not refer to Saturday or Sunday.
Input
$S_1 \ S_2 $
The day of the week $S_1$ of 9/1 and the day of the week $S_2$ of 9/2 are given, separated by a space.
Each of $S_1,S_2$ is one of "Mon","Tue","Wed","Thu","Fri","Sat","Sun".
Output
Print the answer on one line.
Sample
Sample 1
Input
Sun Mon
Output
8/32
Summer vacation lasts until 8/32.
Sample 2
Input
Sat Sun
Output
8/33
Summer vacation lasts until 8/33.
Sample 3
Input
Sun Sat
Output
8/33
The day after a Sunday may be a Saturday.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。
Tlapesium