#include <stdio.h>
int main()
{
    int tamil[10]={1,2,3,4,5};
    int temp,start=0,end=5;
    while(start<end){
        temp=tamil[start];
        tamil[start]=tamil[end];
        tamil[end]=temp;
        start++;
        end--;
    }
    printf("%s",tamil);
}