*SUPPORT*
IN: tufa lug fep wif OUT: YELLOW PINK YELLOW PINK
IN: zup lug fep OUT: YELLOW BLUE
IN: tufa lug fep wif blicket dax OUT: GREEN GREEN YELLOW PINK YELLOW PINK
IN: dax tufa blicket fep blicket dax OUT: GREEN GREEN YELLOW YELLOW GREEN PINK
IN: dax tufa fep dax wif OUT: GREEN PINK YELLOW GREEN GREEN PINK YELLOW GREEN
IN: dax tufa lug dax blicket dax OUT: GREEN GREEN GREEN GREEN PINK
IN: zup wif wif OUT: BLUE BLUE BLUE BLUE
IN: zup tufa blicket dax wif OUT: GREEN GREEN BLUE PINK GREEN GREEN BLUE PINK
IN: dax lug fep OUT: YELLOW GREEN
IN: fep zup tufa zup blicket fep OUT: YELLOW YELLOW YELLOW BLUE PINK BLUE
IN: zup OUT: BLUE
IN: tufa fep blicket fep OUT: YELLOW YELLOW PINK YELLOW
IN: dax lug dax OUT: GREEN GREEN
IN: tufa lug tufa OUT: PINK PINK

*QUERY*
IN: fep wif OUT: YELLOW YELLOW
IN: tufa wif OUT: PINK PINK
IN: dax blicket tufa OUT: PINK PINK GREEN
IN: zup lug tufa wif OUT: PINK BLUE PINK BLUE
IN: dax dax lug fep wif OUT: GREEN YELLOW GREEN GREEN YELLOW GREEN
IN: fep lug tufa blicket tufa OUT: PINK PINK PINK YELLOW
IN: dax dax lug dax OUT: GREEN GREEN GREEN
IN: dax wif OUT: GREEN GREEN
IN: tufa dax OUT: PINK GREEN
IN: fep OUT: YELLOW

*GRAMMAR*
zup -> BLUE 
 tufa -> PINK 
 dax -> GREEN 
 fep -> YELLOW 
 x1 blicket u1 -> [u1] [u1] [x1] 
 x1 wif -> [x1] [x1] 
 u1 lug u2 -> [u2] [u1] 
 u1 x1 -> [u1] [x1] 
 