
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
Sasha and Vanya are playing a game. Sasha asks Vanya questions. If Vanya answers a question correctly, Sasha gives him 7 candies. If Vanya answers incorrectly, he gives Sasha 3 candies. After Sasha asked 50 questions, it turned out that both of them had the same number of candies as they had in the beginning. How many questions did Vanya answer correctly?

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