A
3
2
BBB
0
1
BB
1
1
B
2
1
CCC
1
4
CC
4
2
C
2
2
D
3
8
E
15
17