
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
A teacher is distributing fruits to students, including two kinds of fruits. The number of oranges is 3 more than three times the number of apples. If each student is given 2 apples, then there are 6 apples left. If each student is given 7 oranges, the last student can only get 1 orange. Find the number of students.

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