One person had some money.
He gave one rupee to beggar and half of the remaining money was spent for buy something.
Same thing happened second day he gave one rupee to beggar from remaining money of first day.
This continued on till the sixth day when he had 0 rupee after giving 1 rupee to beggar,
Then how much money he had on first day?