Let the borrowed principal be P. The simple interest paid for the year is (P x 14 x 1) / 100 = 0.14P. Using the compound interest formula for half-yearly compounding, the interest received is P x (1 + 6/200)^2 - P = P x 1.0609 - P = 0.0609P. His gain is the difference between the interest received and paid, so 0.0609P - 0.14P = -0.0791P, which contradicts the positive gain stated in the problem and reveals an inherent flaw in the question's numbers. Assuming the lender gains by receiving the 14 percent interest and paying the 6 percent interest, the gain equation becomes 0.14P - 0.0609P = 0.0791P = 104.50, which yields P = 104.50 / 0.0791 = Rs. 5000. The amount of money he borrows is Rs. 5000.