0
1
2
3
4
5
6
7
8
9
00
×2
signal
1-18
EVEN
ODD
19-36
0
0
0
0
0
0
×3
signal
0
0
0
0
0
0
×36
sort