
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
"The Comprehensive Collection of Mathematical Algorithms" is an important ancient Chinese mathematical work. It records: I asked Li Sangong, who owns a store, all the guests came to the store. In one room, there were seven guests more than the number of rooms. In another room, there were nine guests and one room was empty. The gist of it is: there are several people living in the store. If there are 7 people in each room, then there are 7 people left without a room to stay in. If there are 9 people in each room, then one room is left unoccupied. How many rooms are there in the store in total?

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