from fractions import Fraction

print(Fraction(2468, 50))
print(Fraction(35, 2) + Fraction(46, 4) + Fraction(135, 6))
f1 = Fraction(1356, 27)
# denominator除數
# numerator被除數
print(f1)
print(f1.denominator, f1.numerator)