Case 1: BAT appears in the triangle 9 time(s). Case 2: BOB appears in the triangle 3 time(s). Case 3: X appears in the triangle 1 time(s). Case 4: Y appears in the triangle 0 time(s). Case 5: XXXXX appears in the triangle 0 time(s). Case 6: X appears in the triangle 10 time(s). Case 7: BBBBBB appears in the triangle 360 time(s). Case 8: AA appears in the triangle 0 time(s). Case 9: AB appears in the triangle 12 time(s).