1 test case failing

prob: https://hack.codingblocks.com/app/contests/1975/21/problem

sol: https://ide.codingblocks.com/s/388504

Hey in this question see for this test case
Input:
4
1 2 3 0

Expected output is: 3 0 1 2
Yours is showing this: 1 0 3 2


See this will clear your doubt.

thanks its been done now

Do give your feedback