After being kidnapped, You and your friends are in a room. The only way to get out is to enter the code using the keypad, but the keypad is broken. Fortunately, Your tech wiz friend partially activated the keypad. There are 3 button +5, +7 and sqrt(). He also explains that if you get a number >60, non integer e.g. sqrt(24), or the same number twice, you get busted. Quick hurry out.
Based on this video: https://www.youtube.com/watch?v=YeMVoJKn1Tg P.S. its okay if it outputs different numbers in between