Question 4
In a game on a row of tiles containing chips, a beaver visits each cell from left to right. How the chips change depends on whether the beaver is holding or wearing its hat, as described below.

| Beaver state | Entering an empty cell | Entering a cell with a chip |
|---|---|---|
| Holding the hat | The beaver keeps holding the hat and moves to the next cell. | The beaver puts on the hat, removes the chip from the cell just entered and continues. |
| Wearing the hat | The beaver places a chip in the cell just entered, takes the hat in its hand and continues. | The beaver keeps wearing the hat, leaves the chip and continues. |
For the cells shown below, if the beaver is initially holding its hat, what arrangement of chips will remain at the end?


| Beaver state | Entering an empty cell | Entering a cell with a chip |
|---|---|---|
| Holding the hat | The beaver keeps holding the hat and moves to the next cell. | The beaver puts on the hat, removes the chip from the cell just entered and continues. |
| Wearing the hat | The beaver places a chip in the cell just entered, takes the hat in its hand and continues. | The beaver keeps wearing the hat, leaves the chip and continues. |
For the cells shown below, if the beaver is initially holding its hat, what arrangement of chips will remain at the end?




