A square box is filled with two layers of identical square pieces of chocolate. Kirill had eaten all 20 pieces in the upper layer along the walls of the box, how many pieces of chocolate are left in the box?​