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