Bugs are thriving in a garden of 30 plants. The bugs are very hungry today and completely ate 20 plants. The next day, they were still full and only ate half of the remaining plants. After that, they ate only 1 of the plants that were left. How many plants remain? Let's think step by step and output the final answer after "####".
user
The bugs ate enough plants for there to be 30-20=<<30-20=10>>10 left.
They were still full and only ate half, leaving 10/2=<<10/2=5>>5 plants left.
Later on, the bugs only ate 1 more which left 5-1=<<5-1=4>>4 plants in the garden.
#### 4
Bugs are thriving in a garden of 30 plants. The bugs are very hungry today and completely ate 20 plants. The next day, they were still full and only ate half of the remaining plants. After that, they ate only 1 of the plants that were left. How many plants remain?
train