Guess the number

I picked an integer from 1 to 100. How few tries can you need?