einstein solved this problem too.. the trick with this question is that the amount of money to be considered changes.
in the starting.. we consider 30 Rs. but when the manager returns 5 Rs. means we now have to consider total as 25Rs. and onto which the waiter takes for himself 2 Rs and gives to the 3 persons .. 3Rs.