#include <stdio.h> void main() { int i = 0, a[10]; char ch; scanf("%d", &a[i++]); while ((ch = getchar()) != '\n') scanf("%d", &a[i++]); while (i) printf("%d\t", a[--i]); printf("\n"); }