#include #include using namespace std; int main(){ string s1,s2; cin>>s1>>s2; bool f1=s1=="Sat"||s1=="Sun",f2=s2=="Sat"||s2=="Sun"; cout<<"8/3"<<1+f1+(f1&f2)<