Geppetto has opened the best pizza place in town. The ingredients he can put on a pizza are numbered 1 through N, and he builds each pizza by choosing any set of them.
The trouble is that some ingredients do not mix. There are M pairs of ingredients that cannot sit on the same pizza. Neither pair may appear together on one pizza.
Count how many different pizzas Geppetto can make. Two pizzas are different if some ingredient i is on one of them and not on the other. A pizza with no ingredients at all counts as one pizza.