
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
Indiana Jones reached an abandoned temple in the jungle and entered the treasury. There were 5 boxes, and it is known that only one of them contains the treasure, while the rest trigger a stone slab to fall on the person trying to open them. The boxes are numbered from left to right. The first, fourth, and fifth boxes are made of cedar, while the second and third boxes are made of sandalwood. The inscriptions on the boxes read as follows:

- First box: "The treasure is either in me or in the fourth box."
- Second box: "The treasure is in the box to my left."
- Third box: "The treasure is either in me or in the rightmost box."
- Fourth box: "There is no treasure in the boxes to the left of me."
- Fifth box: "The writings on all other boxes are lies."

The last guardian of the temple, before dying, revealed to Indiana a secret: The same number of false statements are written on the cedar boxes as on the sandalwood boxes. In which box is the treasure?

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