样例1: 3 fuzzy any 10 wool left 6 wool right 4 样例2: 3 sports any 1 black left 6 white right 6 样例3: 2 warm any 5 warm left 3
样例1: 8 样例2: impossible 样例3: 4