Help me in solving REVMEE problem

My issue

Could someone explain why my code is flagged as wrong?

My code

A = input()
D= list(map(int,input().split()))
print(*sorted(D, reverse=True))

Problem Link: CodeChef: Practical coding for everyone

Cozz u have sorted the array and then print its reverse .
U have to simply reverse the unsorted array.