PROGRAMMING:Reduced minimal fraction
Fractions can be expressed in the form of numerator / denominator. Write a program, ask the user to enter a score, and then reduce it into the simplest fraction. The simplest fraction means that the numerator and denominator have no reducible components. For example, 6 / 12 can be divided into 1 / 2. When the numerator is greater than the denominator, it does not need to be expressed in the form of integer and fraction, that is, 11 / 8 or 11 / 8; When the numerator and denominator are equal, it is still expressed as 1 / 1 fraction.
###Input format:
Input to give a fraction in a line. The numerator and denominator are separated by a slash '/' in the middle. For example, ` 12 / 34 'means 12 out of 34. Both numerator and denominator are positive integers (excluding 0, if the definition of positive integers is not clear).
Tips:
*For C, add '/' to the format string of 'scanf' and let 'scanf' handle the slash.
*For Python, use code like ` a, B = map (int, input (). Split ('/') ` to handle the slash.
###Output format:
In one line, output the simplest fraction corresponding to the fraction in the same format as the input, that is, use the form of numerator / denominator to represent the fraction. as
`5 / 6 'means 5 / 6.
###Input example:
```in
66/120
```
###Output example:
```out
11/20
```
answer:If there is no answer, please comment
###Input format:
Input to give a fraction in a line. The numerator and denominator are separated by a slash '/' in the middle. For example, ` 12 / 34 'means 12 out of 34. Both numerator and denominator are positive integers (excluding 0, if the definition of positive integers is not clear).
Tips:
*For C, add '/' to the format string of 'scanf' and let 'scanf' handle the slash.
*For Python, use code like ` a, B = map (int, input (). Split ('/') ` to handle the slash.
###Output format:
In one line, output the simplest fraction corresponding to the fraction in the same format as the input, that is, use the form of numerator / denominator to represent the fraction. as
`5 / 6 'means 5 / 6.
###Input example:
```in
66/120
```
###Output example:
```out
11/20
```
answer:If there is no answer, please comment