Harpreet borrowed Rs. 20000 from her friend at 12% per annum simple interest. She lent it to Alam at the same rate but compounded annually. Find her gain after 2 years.