
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 class of 50 students, each student has either a set square or a ruler. 28 students have rulers. Among those who have set squares, 14 are boys. Given that there are 31 girls in the class, how many girls have rulers?

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