import fractions as F
print(F.Fraction(723520/51680))
print(F.Fraction(123))