I am not able to submit my code

Its saying only 1 test case out of 5 is true

#include
#include
using namespace std;
int main() {
int n;
if(n>=0){
cin >> n;
}
int a[n];
for(int i=0; i<n; i++){
cin >> a[i];
}
for(int i=0; i<n; i++){
cout<<a[n-(i+1)]<<endl;
}
return 0;
}
check inbox for more