Example 8 A coin is tossed three times