
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
Daniel is visited periodically by his four friends: Alex every 4th day, Bella every 6th day, Carl every 8th day, and Diana every 9th day. All four friends visited Daniel yesterday. Calculate the number of days in a 365-day period when exactly three friends will visit him.

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