A
B
B
Q
Q
A
B
A
B
A
Q
Q
A
A
Q
Q
Q
A
A
A
Q
A
Q
Q
B