#include using namespace std; int main(){ string S,T; cin >> S >> T; string a = "Sat"; string b = "Sun"; if((S == a || S == b) && (T != a && T != b)){ cout << "8/32" << endl; }else if((S == a || S == b) &&(T == a || T == b)){ cout << "8/33" << endl; }else{ cout << "8/31" << endl; } }