#include int main() { std::string S[2]; std::cin >> S[0] >> S[1]; bool one{S[0] == "Sun" || S[0] == "Sat"}, two{S[1] == "Sun" || S[1] == "Sat"}; if (one && !two) puts("8/32"); else if (one) puts("8/33"); else puts("8/31"); return 0; }