What is displayed as a result of executing the code segment?
A: 1 3 5
B: 5 3 1
C: 100 300 500
D: 500 300 100
