If a set has 31 proper subsets, then the number of elements in the set is ___.
If a set has 7 proper subsets, then it contains ____ elements.