Assume there is an Ideal Random Number Generator which generates any real number between 0 and given integer. Two numbers are generated from the above generator using integer A and B, let's assume the numbers generated are X1 and X2.
There is another integer C. What is the probability that summation of X1 and X2 is less than C.

Input Format
A single line containing three integers A,B,C
1 ≤ A,B,C ≤ 100000  

Output Format
Print the probability in form of P/Q  

Problem Setter: Practo Tech Team

SAMPLE INPUT
1 1 1

SAMPLE OUTPUT
1/2

Explanation

For example if A and B are 1. Then the random number generated will be any real number between 0 - 1. 

0 < x1 < 1
0 < x2 < 1

If C is also 1, then you need to determine the probability of that x1 + x2 < C.
'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
from fractions import gcd
a,b,c = map(int,raw_input().split())
if(a+b<=c): m,n = 1,1
elif(a<=c and b<=c): m,n=(2*a*b-(b-c+a)*(a-c+b)),(2*a*b)
elif(a<=c): m,n=(2*a*c-a*a),(2*a*b)
elif(b<=c): m,n=(2*b*c-b*b),(2*a*b)
else: m,n = c*c,2*a*b
f = gcd(m,n)
print(str(m/f)+"/"+str(n/f))