f2nd (or fxnd) takes as argument a fraction and returns the list of the numerator and denominator of this fraction after simplification (for rational fractions see 5.33.5). Input:
Output: