Finding the complement of a fraction