Stack
Ada wants to break them all. She hits this stack of bricks with strength SS
Case-1 (sum of their widths is \leq S≤S)
CASE-2-(sum of their widths is \leq S≤S)
Case-3:(sum of their widths is \leq S≤S)