Brother A and B had some savings in the ratio 5:6. They decided to buy a gift for their sister, sharing the cost in the ratio 4:5. After they bought, A is left with three-fourth of his amount, while B is left with Rs.497. Then, the value of the gift is a) 215 b) 115 c) 315 d) 415 e) None of these