Sandeep invested a certain amount in Reliance Infra Private Limited which offers compound interest (compounded annually) at 5% p.a. and an amount equal to 50% of that amount was invested in Reliance Jio, which offers compound interest (compounded annually) at 10% p.a. The duration of investment for both the companies was 2 years. If the difference between the amount received from both the companies is ₹ 6,965, what is the difference between the sums invested in the two companies?