#include<bits/stdc++.h>
using namespace std;

int main(){
    int y,w;
    cin>>y>>w;
    int maxn=max(y,w);
    if(maxn==1){
        cout<<"1/1";
    }else if(maxn==2){
        cout<<"5/6";
    }else if(maxn==3){
        cout<<"2/3";
    }else if(maxn==4){
        cout<<"1/2";
    }else if(maxn==5){
        cout<<"1/3";
    }else{
        cout<<"1/6";
    }
    return 0;
}

0 条评论

目前还没有评论...

信息

ID
1
时间
1000ms
内存
256MiB
难度
3
标签
递交数
64
已通过
33
上传者