
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
Students from grades 9A, 9B, and 9C gathered for a ceremony. Mary Ivanovna counted 27 students from grade 9A, 29 students from grade 9B, and 30 students from grade 9C. Ilia Grigorievich decided to count the total number of students present from all three grades and ended up with 96 students.

It turned out that Mary Ivanovna's count for each grade could be off by no more than 2 students. Additionally, Ilia Grigorievich's total count could be off by no more than 4 students.

How many students from grade 9A were present at the ceremony?

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