#include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; bool m(const string &s) { return s == "Sat" or s == "Sun"; } int main() { string S1, S2; cin >> S1 >> S2; if (m(S1) and m(S2)) { cout << "8/33" << endl; } else if (m(S1) and not(m(S2))) { cout << "8/32" << endl; } else { cout << "8/31" << endl; } return 0; }