import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines from math import gcd # 相対速度を持つ a,b,c = sorted(map(int,read().split())) x = a * c * (b - a); y = a * b * (c - a) n = x * y // gcd(x,y); d = (b-a) * (c-a) g = gcd(n,d); n //= g; d //= g print('{}/{}'.format(n,d))