Oddman answered The picture shows a matrix with the interesting outcomes shaded. There are 17 of them. The probability you seek is 17/36.