Romesh borrowed a sum of Rs. 245760 at 12.5% per annum compounded annually. On the same day, he lent out his money to Ramu at the same rate of interest but compounded semi-annually. Find his gain after 2 years.