#include<iostream>
using namespace std;
int main(){
   arr[5]={1,2,3,4,5};
    cout<<strrev(arr)<<endl;
    return0;
}