Number guesser

Think of a number between 0 and 1000 and I will guess it in not more than 10 tries!