Hit the flag, and type in a number to see if it is prime. The dog will tell you if it is or not.
This was something they taught us how to do in school, and was my first project