Monika deposited a certain amount of money in a bank at compound interest compounded annually. According to the directive of the government of Nepal, the bank deducts 5% of the interest as a tax at the end. If the money is left for 2 years in the bank, she would have received Rs.8679 as the compound amount and Rs.9097.95 when it is left for 3 Years. If the ratio of the interest accrued in 2 years and 3 years without deducting tax on interest is 940:1087, find the principal.