Read the following question carefully:
Datta purchased two oranges, three bananas and four apples which cost him Rs.
15. If Datta had purchased three oranges, two bananas and one apple, it would have cost him only Rs. 10.
If Datta bought 3 oranges, 3 bananas and 3 apples, determine as to how much did he have to pay?