Question 94
Let $n \ge 2022$ be an integer and $A$ be a finite set so that $\{S(B) \mid B \subset A\} = \{1, 2, \dots, n\}$, where $S(X)$ is the sum of the elements of the set $X$. Find the smallest and the largest possible value of the cardinal of the set $A$.