Three persons Amar, Akbar and Anthony invested different amounts in a fixed deposit scheme for one year at the rate of 12% per annum and earned a total interest of Rs 3,240 at the end of the year. If the amount invested by Akbar is Rs 5000 more than the amount invested by Amar and the amount invested by Anthony is Rs 2000 more than the amount invested by Akbar, what is the amount invested by Akbar?