CMIMC 2017 Power Problem 25

Conclude that, after the algorithm terminates,

\mathbf{E}[|S|] \leq 2 \cdot|C|