
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
Joshua has ten socks, comprising two pairs of blue, two pairs of red, one pair of yellow, and one pair of green. He randomly selects five socks. What is the probability that he has exactly two pairs of socks with the same color?

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