*SUPPORT*
IN: kiki OUT: PINK
IN: dax wif wif OUT: BLUE PURPLE PURPLE
IN: dax tufa wif gazzer OUT: BLUE PURPLE BLUE PURPLE
IN: kiki tufa dax gazzer OUT: PINK BLUE PINK BLUE
IN: kiki gazzer OUT: PINK PINK
IN: lug tufa dax tufa dax OUT: GREEN BLUE BLUE
IN: lug lug gazzer OUT: GREEN GREEN GREEN GREEN
IN: kiki tufa lug tufa wif wif gazzer OUT: PINK GREEN PURPLE PURPLE PINK GREEN PURPLE PURPLE
IN: wif kiki zup kiki gazzer OUT: PINK PINK PURPLE PINK
IN: lug OUT: GREEN
IN: wif OUT: PURPLE
IN: kiki tufa lug OUT: PINK GREEN
IN: dax tufa kiki zup lug OUT: GREEN BLUE PINK
IN: lug tufa wif kiki zup lug gazzer OUT: GREEN GREEN GREEN PURPLE PINK

*QUERY*
IN: dax OUT: BLUE
IN: dax tufa wif wif dax gazzer OUT: BLUE PURPLE PURPLE BLUE BLUE PURPLE PURPLE BLUE
IN: wif zup dax tufa lug OUT: BLUE GREEN PURPLE
IN: dax tufa dax kiki OUT: BLUE BLUE PINK
IN: wif tufa wif gazzer OUT: PURPLE PURPLE PURPLE PURPLE
IN: wif tufa lug lug lug OUT: PURPLE GREEN GREEN GREEN
IN: wif dax OUT: PURPLE BLUE
IN: dax tufa dax gazzer OUT: BLUE BLUE BLUE BLUE
IN: dax tufa kiki kiki OUT: BLUE PINK PINK
IN: dax gazzer OUT: BLUE BLUE

*GRAMMAR*
dax -> BLUE 
 wif -> PURPLE 
 lug -> GREEN 
 kiki -> PINK 
 x1 zup x2 -> [x2] [x1] 
 x1 gazzer -> [x1] [x1] 
 u1 tufa x1 -> [u1] [x1] 
 u1 x1 -> [u1] [x1] 
 