/** * @FileName a.cpp * @Author kanpurin * @Created 2020.05.31 01:20:22 **/ #include "bits/stdc++.h" using namespace std; typedef long long ll; //gcd template T gcd(T a, T b) { return b ? gcd(b, a%b) : a; } int main() { ll t1,t2,t3;cin >> t1 >> t2 >> t3; ll p1 = t1*t2, q1 = t2-t1; ll p2 = t1*t3, q2 = t3-t1; ll g1 = gcd(p1,q1); ll g2 = gcd(p2,q2); p1 /= g1; q1 /= g1; p2 /= g2; q2 /= g2; ll ans1 = p1*q2/gcd(p1*q2,p2*q1)*p2; ll ans2 = q2; ll g3 = gcd(ans1,ans2); ans1 /= g3; ans2 /= g3; cout << ans1 << "/" << ans2 << endl; return 0; }