#P1888. P1888 三角函数
P1888 三角函数
Trigonometric Functions
Problem Description
Input a set of Pythagorean triple (), and output the sine of its smaller acute angle in fraction form (reduced to lowest terms).
(Terminology: a Pythagorean triple is a set of three positive integers that can form the three sides of a right triangle, satisfying . The sine of an angle is the ratio of the opposite side to the hypotenuse in a right triangle. The sine of the smaller acute angle equals the shortest leg divided by the hypotenuse.)
Input Format
One line containing three positive integers, the Pythagorean triple (in no particular order).
Output Format
One line containing a fraction, the sine of the smaller acute angle.
Sample Input
3 5 4
Sample Output
3/5
Constraints
are positive integers, and .