#include<iostream>
#include<algorithm>
using namespace std;
int tran[3];
void out(double x,double y){
for(double i = 1;i <= x;i++){
for(double j = 1;j <= y;j++){
if(i / j == x / y){
cout<<i<<"/"<<j;
return;
}
}
}
}
int main(){
cin>>tran[0]>>tran[1]>>tran[2];
sort(tran,tran + 3);
int a = tran[0],b = tran[2];
out(a,b);
}