The Mathematical Game
A and B are playing a game.
Player A asks B to choose a number from 1 to 100,000 and keep it as a secret.
Player A has to guess the secret number. Player A will get as many tries as he wants. But the rule is that whenever player A guesses a number (let that no. be x), Player B will tell him if x is greater than or less than the secret number.
How many tries does A need to surely guess the secret number?