Problem

Source: Baltic Way 2020, Problem 7

Tags: combinatorics, combinatorics proposed



A mason has bricks with dimensions $2\times5\times8$ and other bricks with dimensions $2\times3\times7$. She also has a box with dimensions $10\times11\times14$. The bricks and the box are all rectangular parallelepipeds. The mason wants to pack bricks into the box filling its entire volume and with no bricks sticking out. Find all possible values of the total number of bricks that she can pack.