Bakayev E.V.

A mathematician with five children walked into a pizzeria.

Masha: I want one with tomatoes and no sausage.

Vanya: And I want one with mushrooms.

Dasha: I'll have one without tomatoes.

Nikita: I want one with tomatoes. But no mushrooms!

Igor: And I want one without mushrooms. But with sausage!

Dad: Well, with such picky eaters, one pizza definitely won't be enough...

Will the mathematician be able to order two pizzas and treat each child to the one they want, or will he have to order three pizzas?
Let's say two pizzas were enough. For Vanya, Dad has to order a pizza with mushrooms. The other boys don't eat mushrooms, so the second pizza will definitely be with tomatoes and sausage. Masha will refuse to eat such a pizza, so mushrooms will have to be added to Vanya's pizza. Now tomatoes are in both pizzas, and a third one will have to be ordered for Dasha.

## Answer

It won't work.

## Problem