// #define _GLIBCXX_DEBUG #include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); ++i) int main() { // Input string S1, S2; cin >> S1 >> S2; // Output bool b1 = (S1 == "Sat" || S1 == "Sun"); bool b2 = (S2 == "Sat" || S2 == "Sun"); if (b1 && b2) cout << "8/33" << endl; else if (b1) cout << "8/32" << endl; else cout << "8/31" << endl; }