
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Given the set \( S = \{1, 2, \cdots, 1990\} \), a 31-element subset of \( S \) is called a "good subset" if the sum of its elements is divisible by 5. Find the number of good subsets of \( S \).

Present the answer in LaTex format: \boxed{Your answer}
user