You may have taken the reciprocal of the first number, instead of the second.