Use the arrow keys to get the correct sequence of four. I left the list and variables on the screen so you can see how it operates. Obviously if you use this in a game you would hide them.