#include #include #include #include #include #include #include #include #include #include #include #include #include #pragma warning(disable:4996) typedef long long ll; #define MIN(a, b) ((a)>(b)? (b): (a)) #define MAX(a, b) ((a)<(b)? (b): (a)) #define LINF 9223300000000000000 #define INF 2140000000 const long long MOD = 1000000007; using namespace std; int main(int argc, char* argv[]) { char str0[5]={0},str1[5]={0}; scanf("%s%s", str0, str1); bool a=false, b=false; if(strcmp(str0,"Sat")==0 || strcmp(str0,"Sun")==0) a = true; if(strcmp(str1,"Sat")==0 || strcmp(str1,"Sun")==0) b = true; if(a && !b) printf("8/32\n"); else if(a && b) printf("8/33\n"); else printf("8/31\n"); return 0; }