11. The bear was carrying pastries from the bazaar,
But on the forest edge
He ate half the pastries
And plus half a pastry.

He walked, walked, sat down to rest
And to the "coo-coo" of the cuckoo
He ate half the pastries again
And plus half a pastry.

It got dark, he quickened his pace,
But on the porch of the cottage
He ate half of what was left
And plus half a pastry.

With an empty wallet—alas!
He entered the house sadly...
Tell me, how many pastries were there?
11. On the porch of the little house, the bear ate all the remaining cookies, which were half a cookie and half a cookie. This means that half a cookie is half of the remainder, i.e., the third time he ate one cookie. Therefore, when he ate half the cookies and another half cookie the second time, one cookie was left. So, $1+0.5=1.5$ is half of the cookies he had at that point, and there were a total of $1.5 \cdot 2=3$ cookies. The first time he ate half the cookies and another half cookie, so 3.5 is half of the cookies he had. This means there were initially $3.5 \cdot 2=7$ cookies.