Please help me decide. It is necessary that this little man come out of the exit, having eaten all the sweets, but you can’t go into the same room 2 times

 
Please help me decide. It is necessary that this little man come out of the exit, having eaten all the sweets, but you can’t go into the same room 2 times - Help, Peekaboo, Головоломка

v20240901