If a number is added to the numerator of 7/8 and the same number is subtracted from the denominator, the result is 4. Find the number.