Bernoulli's coin flipping

Bernoulli repeatedly tosses a fair coin until he tosses heads. If $$X$$ is the number of tosses he makes up to and including the first time he tosses heads, what is the expected value of $$X?$$

×