*SUPPORT*
IN: tufa OUT: BLUE
IN: wif tufa dax OUT: PINK BLUE GREEN
IN: dax gazzer tufa kiki OUT: GREEN BLUE GREEN BLUE
IN: dax blicket OUT: GREEN GREEN GREEN
IN: lug lug blicket gazzer tufa gazzer tufa OUT: YELLOW YELLOW YELLOW YELLOW YELLOW YELLOW BLUE BLUE
IN: tufa kiki gazzer dax OUT: BLUE BLUE GREEN
IN: wif OUT: PINK
IN: wif gazzer tufa gazzer dax OUT: PINK BLUE GREEN
IN: wif tufa blicket gazzer tufa OUT: PINK BLUE PINK BLUE PINK BLUE BLUE
IN: tufa blicket OUT: BLUE BLUE BLUE
IN: lug gazzer lug gazzer lug OUT: YELLOW YELLOW YELLOW
IN: tufa gazzer dax gazzer tufa OUT: BLUE GREEN BLUE
IN: tufa lug OUT: BLUE YELLOW
IN: lug dax gazzer tufa OUT: YELLOW GREEN BLUE

*QUERY*
IN: wif gazzer wif OUT: PINK PINK
IN: lug kiki OUT: YELLOW YELLOW
IN: lug OUT: YELLOW
IN: dax OUT: GREEN
IN: dax gazzer dax OUT: GREEN GREEN
IN: dax wif gazzer tufa OUT: GREEN PINK BLUE
IN: wif dax kiki kiki OUT: PINK GREEN PINK GREEN PINK GREEN PINK GREEN
IN: dax wif blicket OUT: GREEN PINK GREEN PINK GREEN PINK
IN: lug lug blicket OUT: YELLOW YELLOW YELLOW YELLOW YELLOW YELLOW
IN: lug lug gazzer dax OUT: YELLOW YELLOW GREEN

*GRAMMAR*
dax -> GREEN 
 tufa -> BLUE 
 lug -> YELLOW 
 wif -> PINK 
 x1 gazzer u1 -> [x1] [u1] 
 x1 kiki -> [x1] [x1] 
 x1 blicket -> [x1] [x1] [x1] 
 u1 x1 -> [u1] [x1] 
 