Greedy bricks

#1

I have to write because bricks