Use five different colors to paint the four rectangles A, B, C and D shown in the figure. No two rectangles sharing an edge can be the same color. How many ways are there to color the rectangles?

Use five different colors to paint the four rectangles A B C and D shown in the figure No two rectangles sharing an edge can be the same color How many ways are class=