#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; int x[a]{0}; for(int i=1; i<=a; i++) { cin>>x[i]; } for(int j=a; j>1; j--) { cout<<x[j]<<" "; } cout<<x[1]<<endl;//因為zerojudge會抓你有無多打空格}