Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: the annual birth and death rate in a country per 1000 are 39.4 and 19.4 respectively . the number of years r in which the population would be doubled assuming there is no emigration or immigration is
Output:
r = 35