Balph learning play game call Buma in game give row color ball he choose color new ball place insert ball leave ball right ballsWhen ball insert follow happen repeatedly segment ball color long result previous action length 3 ball segment eliminate consider example row ball AAABBBWWBB suppose Balph choose ball color W place insert sixth ball ie leave Ws after Balph insert ball ball color W eliminate segment long length 3 row AAABBBBB the ball color B eliminate segment ball color B long length 5 thus row AAA However ball eliminate elongated segmentHelp Balph count number possible way choose color new ball place insert lead elimination ball