The previous program prints:
Element
Value
0
2
1
4
2
6
3
8
4
10
5
12
6
14
7
16
8
18
9
20