You are at a birthday party and the cake is brought in. The birthday candles on the cake are in a pattern:
red, yellow,
red, yellow, blue,
red, yellow, blue, green.
The pattern continues, adding pink, orange, purple, and white candles.
How many candles are on the cake in all?