Well, the guessing part isn't hard, but for those who can't think of the solution - start with 50000, if it's too low, go higher, if too high, go lower. When you hit the change between "too low" and "too high", try the lower number + 5000, then repeat, repeat, repeat and voila.