Data Ram lends equal sum of money at the same rate of interest to A and B. The money lends to A becomes twice of the original amount in just four years at simple interest. While Data Ram lends to B for the first two years at compound interest and for the rest two years at simple interest. If the difference between the amount of A and B after 4 years is Rs. 2750. What is the amount of money that Data Ram lends to each one?