Question 6
Alice chooses a set $A$ of positive integers. Then Bob lists all finite nonempty sets $B$ of positive integers with the property that the maximum element of $B$ belongs to $A.$ Bob’s list has $2024$ sets. Find the sum of the elements of $A.$