Input (grade 7): A regular (full-size) table is 12 x/O. It is played using a cue and snooker balls: one white, 15 worth one point each, and six balls of different: yellow (2 points), green (3), brown (4), blue (5), pink (6) and black (7).
Output (grade 10): There are 15 red balls (worth 1 point each) and 6 colors: a yellow (2 points), green (3 points), brown (4 points), blue (5 points), pink (6 points) and black ball (7 points).