#include #include #include using namespace std; int main() { string A, B; cin >> A >> B; if (A == "Sat" || A == "Sun") { if (B == "Sat" || B == "Sun") { cout << "8/33" << endl; } else { cout << "8/32" << endl; } } else { cout << "3/31" << endl; } }