Daniel has a candy jar with 32 jellybeans. He loves jelly beans and is trying not to eat them all at once. Every time he reaches in to the jar, he removes exactly half of the jelly beans. How many times does he reach into the jar so that he only has 1 jellybean left in the jar after he removes half?