Sonar sensor to arduino to servo

If I gave you a set of five numbered pages, each with a number written on it and asked you to tell which page had the largest number written on it (I don't necessarily need to know the value of the largest number, just which page it is on), how would you do it?

~pointing the address?..

ow.. the program compiles and run but not the output i expect.
Ok.. I'll try to cut the word sir.. :))