A coin, weighted so that P(H) =2/3 and P(T) =1/3, is tossed. If heads
appears, then a number is selected at random from the numbers 1 through 9; if tails
appears, then a number is selected at random from the numbers 1 through 6. Find
the probability p that an even number is selected?