Use the classic compound interesting formula

Where:

- is the amount at time
t- is the initial amount (t=0)
- annualised interest rate
- number of compounds per year
- number of years

Can you fit the information you've been given into that formula? If you use it once for Jim and once for Mark then you can set the two equations equal to each other and solve fort