Input the lowest possible number for Frank to choose, and then the highest possible number for Frank to choose. Then put in a random number. Frank will tell you if his number is lower than your guess or higher than your guess.
All me : )