
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
Petya considered moments in his life to be happy when his digital clock showed the number of hours to be six times the number of minutes, or vice versa. Petya fell asleep and woke up at a happy moment in his life, without missing any such moment during his sleep. What is the maximum whole number of minutes Petya's sleep could have lasted?

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