#include #include using namespace std; int main(){ string str1, str2; cin >> str1 >> str2; if((str1 == "Sat" || str2 == "Sun") || (str1 == "Sun" || str2 == "Sat")) cout << "8/33"; else if( str1 == "Sun" || str1 == "Sat") cout << "8/32"; else cout << "8/31"; return 0; }