Someone received 140 bottles of wine as a gift and placed them in their cellar in such a way that, as shown in the diagram, 36 bottles were placed against each wall.

| 1 | 34 | 1 |
| :---: | :---: | :---: |
| 34 | $\ddots$ | 34 |
| 1 | 34 | 1 |

His servant, who was a great lover of good wine, stole 4 bottles of wine each day, but he rearranged the remaining bottles so that 36 bottles still remained against each wall, ensuring that his master did not notice the theft. How did the unscrupulous servant manipulate the bottles if he stole a total of 64 bottles over 16 days?
Every day, he took two from every middle position and placed one in each corner. So on the second day, the arrangement was as follows:

| 2 | 32 | 2 |
| :--- | :--- | ---: |
| 32 |  | 32 |
| 2 | 32 | 2 |

and on the last day: $\quad$| 17 | 2 | 17 |
| :--- | :--- | ---: |
| 2 |  | 2 |
| 17 | 2 | 17 |

Number of solutions: 38.