Reverse Polarity(Magnus)

Hey guys, how to reverse the output??
example
from:
when i input: 6
1
2
3
4
5
6
6 >> composite
5 >> prime
4 >> composite
3 >> prime
2 >> prime
1 >> prime


to
1
2
3
4
5
6
1 >> prime
2 >> prime
3 >> prime
4 >> composite
5 >> prime
6 >> composite


???
Topic archived. No new replies allowed.