P9911 [HackerEarth] ideal random number generator
普及
题目描述

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.

输入格式

见题面

输出格式

见题面

样例输入
1 1 1 SAMPLE
样例输出
1/2