from math import gcd a = int(input()) b = int(input()) c = int(input()) deno = (b - a) * (c - a) t1 = (a * b) * (c - a) t2 = (a * c) * (b - a) nume = t1 * t2 // gcd(t1, t2) g = gcd(deno, nume) print(nume // g, deno // g, sep="/")