Expected number of coin flips to get two consecutive heads

Analyze the expected number of coin flips to get two consecutive heads.

Examples
Input: "test_input_1"
Output: "output_1"
Hints

Expected number of coin flips to get two consecutive heads

Analyze the expected number of coin flips to get two consecutive heads.