Task No. 1.1

## Condition:

Five friends - Masha, Nastya, Irina, Olya, and Anya - meet in the park every day after buying ice cream from the shop around the corner. One day, the girls had a conversation.

Irina: I was the first in line!

Olya: No one was after me.

Anya: Only one person was after me.

Masha: There were five people in front of me.

Nastya: I was standing next to Irina.

The girls are friends, so they don't lie to each other. How many people were between Masha and Nastya?