
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
Petr bought a calculating machine in a store, which multiplies any entered number by 3 for 5 coins, and adds 4 to any number for 2 coins. Petr wants to start from the number one, which can be entered for free, and use the machine to obtain the number 1981, spending the smallest amount of money. How much will the calculations cost him? And what if he wants to obtain the number 1982?

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