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

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