Algorithm
Start
I
History
Start
I
B
B
N
N
N
I
B
G
G
B
I
I
G
G
N