
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 hotel, there are rooms numbered sequentially from 1 to 10000. Masha and Alina checked into two different rooms. The sum of their room numbers is 2022, and the sum of the room numbers of all the rooms between them is 3033. In which room does Masha live if her room has a smaller number than Alina's room?

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