remember user input sequence and then spawn actor accordingly

I have 3 spawn actor controls (say red, blue and yellow ball). How can I make it so that the game will remember the user's input (say red, blue, blue, red, yellow) and do not spawn until he/she press the start button?
thanks
thanks