a countrys flags has three horizontal stripes one red one blue and one green how many different ways can the colors be arranged on the flag?