In a fraction, if the numerator is decreased by 1 and the denominator is increased by 1, then the resulting fraction is 14. Instead if the numerator is increased by 1 and the denominator is decreased by 1, then the resulting fraction is 23. Find the absolute difference of the numerator and the denominator of the fraction.