Kostya planted some number of tulip bulbs along a path. Then Tanya came and planted a new bulb between each pair of neighboring bulbs planted by Kostya. After that, Inna came and planted a new bulb between each pair of neighboring bulbs already planted. Finally, Dima came and did the same thing.
All planted bulbs have grown and there are 113 blooming tulips. How many bulbs did Kostya plant?