
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
Tom enters a digital maze with 20 rooms. In each room, there is a card with a number written on it. Tom enters the first room and collects card 1. After that, Tom can enter adjacent rooms, with the condition that he enters each room at most once. If the number on the card in the adjacent room is greater than any number on the cards he has already collected, he collects this card. What is the maximum number of cards Tom can collect in the maze?

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