The art museum had an exhibit named
«Flower Power." Each of the 36 paintings featured colorful flowers. The paintings were hung in one row. The 12th painting had white, blue, and yellow flowers.
[Every 3rd painting after that had white flowers, every 4th one had blue flowers, and every 6th one had yellow flowers.
How many paintings in all had all three colors of flowers? In which places were those paintings in the row?