2. For a non-empty set of numbers $S \subseteq\{1,2,3,4,5\}$, the number of sets $S$ that satisfy the condition “if $a \in S$, then $6-a \in S$” is
(A) 4
(B) 5
(C) 7
(D) 31
C



Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.