Infosys Question:
There are five thieves, each loot a bakery one after the other such that the first one takes 1/2 of the total no. of the breads plus 1/2 of a bread. Similarly 2nd, 3rd,4th and 5th also did the same. After the fifth one no. of breads remained are 3. Initially how many breads were there?

Answer:
31