
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
Given that a jar of almonds costs x cents, a jar of peanuts costs y cents, a jar of cashews costs z cents, and a jar of pistachios costs 30 cents, find the smallest possible value of n such that the cost of n jars of pistachios is equal to the cost of 18 jars of almonds, 21 jars of peanuts, or 16 jars of cashews.

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