#include<stdio.h> int main(){ int i=1,j,a[100]={0}; scanf("%d",&a[0]); while(getchar()!='\n'){ scanf("%d",&a[i++]); } j = i-2; while(j>=0){ printf("%d ",a[j--]); } return 0; }