A person received an inheritance of 500000 rs and want to invest a portion of it for future. His goal to accumulate 700000 rs in 12 year.how much of the inheritance should be invested if the money earns interest at 12% per year compounded semi annually?