(a) A square is cut into right triangles with legs of lengths 3 and 4. Prove that the total number of the triangles is even.(b) A rectangle is cut into right triangles with legs of lengths 1 and 2. Prove that the total number of the triangles is even.(A Shapovalov) combinatoricstilesTilingcombinatorial geometry