166. Fraction to Recurring Decimal (Medium)