Calculate any gdp per capita of any country and compare

INPUT FIRST GDP PER CAPITA AND THE RIVAL GDP PER CAPITA WITH BOTH GROWTH RATE . BE CAREFUL THE FIRST GDP PER CAPITA MUST BE LOWER THAN THE GDP PER CAPITA OF THE RIVAL BUT FIRST GROWTH RATE MUST BE HIGHER THAN GROWTH RATE OF THE RIVAL. THE GOAL IS TO KNOW WHEN FIRST GDP PER CAPITA WILL BE ABLE TO CATCH UP WITH GDP PER CAPITA OF THE RIVAL OR RIVALS .
for example 2013:morocco GDP PER CAPITA IS 3000 DOLLARS and growth rate(4.5%)every year and USA with GDP PER CAPITA OF 50000 DOLLARS and growth rate (2%)evey year.
MOROCCAN GDP PER CAPITA after about 117 years. MOROCCAN GDP PER CAPITA --> 517281.846 dollars / USA GDP PER CAPITA-->507212.678 dollars IN 2131 .


: : :

: : :

:

:

: