
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 the ancient Chinese book "The Complete Collection of Mathematical Rules," there is a poem that goes like this: "I asked Li Sangong who owns a shop, all the guests come to the shop, seven guests in each room plus seven guests, nine guests in each room leaves one room empty." The meaning of the last two lines of the poem is: if each room accommodates 7 people, then there will be 7 people without a room; if each room accommodates 9 people, then one room will be empty. Let $x$ be the number of rooms, the equation can be written as: ______.

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