Identify numerators and denominators