
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 cupboard, there are books that need to be packed. If they are tied into bundles of 4, 5, or 6 books, each time there will be one book left over. However, if they are bundled into groups of 7, there will be no books left over. What is the total number of books in the cupboard, given that there are no more than 400 books?

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