input 50 1 10 25 5 2

output 1 50 5 2 10 25
What is the rule?

Try to multiply the input and output separately for each case and see if you can discover the rule.