
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
Vasya is coming up with a 4-digit password for a combination lock. He dislikes the digit 2, so he does not use it. Additionally, he does not like when two identical digits are adjacent. Moreover, he wants the first digit to match the last digit. How many possible combinations need to be checked to guarantee guessing Vasya's password?

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