An experiment consists of flipping a coin 3 times and noting the number of times that a heads is flipped. Find the sample space S of this experiment.

S=?