The infinite monkey theorem says that if a monkey randomly presses buttons on a typewriter, he will eventually type a phrase. This program simulates this but with 5 keys instead of 93. The formula for the chance that the monkey gets it in the first digits is 1/x to the power of y. x = the amount of keys on a keyboard and y = the amount of letters in the phrase. This means that it will take approximately 3125 times to type the phrase "12345". When it has written the phrase "12345", it will stop calculating. The number in the red circle is the amount of times it has taken to get the phrase. Thankyou finalscratch.