#include #define ll long long #define INF 1000000005 #define MOD 1000000007 #define EPS 1e-10 #define rep(i,n) for(int i=0;i<(int)n;++i) #define each(a, b) for(auto (a): (b)) #define all(v) (v).begin(),(v).end() #define fi first #define se second #define pb push_back #define show(x) cout <<#x<<" = "<<(x)<P; const int MAX_N = 100005; ll gcd(ll a,ll b) { if(a%b == 0){ return b; }else{ return gcd(b,a%b); } } int main() { cin.tie(0); ios::sync_with_stdio(false); int t1,t2,t3; cin >> t1 >> t2 >> t3; vector v1={t2+t1,t2-t1}; vector v2={t3+t1,t3-t1}; double mn = 1e100; ll ans1,ans2; rep(i,2){ rep(j,2){ ll num1 = gcd(v1[i],t1*t2); ll a1 = (v1[i])/num1; ll a2 = (t1*t2)/num1; ll num2 = gcd(v2[j],t1*t3); ll a3 = (v2[j])/num2; ll a4 = (t1*t3)/num2; ll si = a2*a4 / gcd(a2,a4); ll bo = gcd(a1,a3); if(mn > (double)si/bo){ ll hoge = gcd(si,bo); ans1 = si/hoge,ans2 = bo/hoge; } } } cout << ans1 << "/" << ans2 << endl; return 0; }