
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
In a WeChat group, members A, B, C, D, and E simultaneously grab 4 red envelopes, each person can grab at most one red envelope, and all red envelopes are grabbed. Among the 4 red envelopes, there are two worth 2 yuan and two worth 3 yuan (red envelopes with the same amount are considered the same). The number of situations where both A and B grab a red envelope is $\boxed{18}$ kinds.

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