Example 11 : On throwing a dice