
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
Candies are in the shape of $1 \times 1 \times 1$ cubes. The teacher arranged them into a $3 \times 4 \times 5$ rectangular prism and asked the children to pick candies. In the first minute, Petya took one of the corner candies. Each subsequent minute, the children took all candies that had a neighboring face with already missing candies (for example, 3 candies were taken in the second minute). How many minutes did it take for the children to take all the candies?

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