import java.util.Scanner; public class Main_yukicoder356 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long t1 = sc.nextInt(); long t2 = sc.nextInt(); long t3 = sc.nextInt(); long tmp1 = (t3 - t2) * t1; long tmp2 = (t3 - t1) * t2; long tmp3 = (t2 - t1) * t3; long gcd = gcd(tmp1, tmp2); gcd = gcd(gcd, tmp3); long ret1 = t1 * t2 * t3; long ret2 = gcd; System.out.printf("%d/%d\n", ret1 / gcd(ret1, ret2), ret2 / gcd(ret1, ret2)); sc.close(); } private static long gcd(long n, long m) { if (m == 0) { return n; } else { return gcd(m, n % m); } } }