Do what the parrot tells you to do. Guess a number from one to ten. You can also look at the time if you want to.
I made this for my digital design class. I know it is bad but it took me only 40 minutes.