Compare two fractions that have like numerators