291 Flipping triangles