Output #1
No
No
Yes
No
Yes
No
Here are all the events in chronological order.
In the $1$\-st event, you are asked whether player $1$ has been removed from the game. Player $1$ has not been removed, so you should print `No`.
In the $2$\-nd event, you are asked whether player $2$ has been removed from the game. Player $2$ has not been removed, so you should print `No`.
In the $3$\-rd event, player $2$ receives a yellow card.
In the $4$\-th event, player $1$ receives a red card and is removed from the game.
In the $5$\-th event, you are asked whether player $1$ has been removed from the game. Player $1$ has been removed, so you should print `Yes`.
In the $6$\-th event, you are asked whether player $2$ has been removed from the game. Player $2$ has not been removed, so you should print `No`.
In the $7$\-th event, player $2$ receives a yellow card and is removed from the game.
In the $8$\-th event, you are asked whether player $2$ has been removed from the game. Player $2$ has been removed, so you should print `Yes`.
In the $9$\-th event, you are asked whether player $3$ has been removed from the game. Player $3$ has not been removed, so you should print `No`.