The numerator and the denominator of a fraction are thirteen and fifty, respectively. When a certain number is added to this numerator and subtracted from this denominator, the resulting fraction has a numerator to denominator ratio of two to one. What is the number?