a) Andrii and Olesia both received the set of cards, on which all integer numbers from till are written. After that Olesia leaves herself some amount of cards (but not all) from her set, and the rest she puts aside. Andrii does the same. There are points on the coordinate plane, and coordinates are integer and bounded from till . Olesia paints in blue color the points whose first coordinate equals the number on one of her cards and the second coordinate is on one of Andrii's cards, and Andrii paints in blue color the points whose first coordinate equals the number on one of his cards and the second coordinate is on one of Olesia's cards (some points can be painted in both yellow and blue colors). Prove that no matter which cards Andrii and Olesia will choose they can't make all the points painted at least in one color.
b) Oxana joins Andrii and Olesia and takes all the cards that Olesia and Andrii put aside. Then they paint the coordinate plane with the following rule: Olesia paints in blue color the points, the first coordinate of which equals the number on one of her cards and the second coordinate is on one of Andrii's cards, Andrii paints in yellow color the points the first coordinate of which equals the number on one of his cards, and the second coordinate is on one of Oxana's cards, and Oxana paints in green color the points, first coordinate of which equals the number on one of her cards and the second coordinate is on one of Olesia's cards (again some points can be painted in more than one color). How do Olesia and Andrii have to choose the cards in order to paint every point from at least in one color?