Malvina baked 30 pies and is treating Pierrot, Buratino, Artemon, and Harlequin with them. After some time, it turned out that Buratino and Pierrot ate as much as Artemon and Harlequin, and Pierrot and Artemon ate 6 times more than Buratino and Harlequin. How many pies did each of them eat, if Harlequin ate less than all the others? (Everyone ate whole pies, and each ate at least one pie.)

#
According to the condition, the total number of pies is even. Buratino and Arlequin together ate one-seventh of all the pies, which is an even number not greater than 4. On the other hand, Arlequin ate at least one pie, and Buratino ate more. Therefore, Arlequin ate 1, and Buratino ate 3 pies. In total, $4 \cdot 7=28$ pies were eaten, of which Buratino and Pierrot (Artemon and Arlequin) together ate half, that is, 14. Therefore, Pierrot ate 11 pies, and Artemon - 13.

## Answer

Arlequin ate one pie, Buratino - 3, Pierrot - 11, Artemon - 13 pies.