
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

Five friends - Kristina, Nadya, Marina, Liza, and Galya - gather in the park every day after buying ice cream from the shop around the corner. One day, they had a conversation.

Kristina: There were five people in front of me.

Marina: I was the first in line!

Liza: There was no one after me.

Nadya: I was standing next to Marina.

Galya: There was only one person after me.

The girls are friends, so they do not lie to each other. How many people were between Kristina and Nadya?

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