A pair of dice is thrown at a time . X is the maximum of two numbers shown on the dice. The mean of X is