#include #include using namespace std; int main(){ string in_1,in_2; cin>>in_1>>in_2; if((in_1=="Sat" || in_1=="Sun") && (in_2=="Sat" || in_2=="Sun")){ cout<<"8/33"<<"\n"; exit(0); } if(in_1=="Sat" || in_1=="Sun"){ cout<<"8/32"<<"\n"; exit(0); } cout<<"8/31"<<"\n"; return 0; }