using: version6
test: 
diff outputs/t2476 orig_outputs/t2476
1c1
<  0 1 2 3 4 5 6 7 8 17 16 10 14 9 11 12 13 15
---
>  0 1 2 3 4 5 6 7 8 10 15 9 11 12 13 14 16 17

Changes I had to make: just added <string.h> and <stdlib.h>
