public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int n,i; Integer[] iArray = new Integer[10]; for (i=0;i<10;i++){ n = Integer.parseInt(reader.readLine()); iArray[i] = n; } for (int j = 9;j>=0;j--){ System.out.println(iArray[j]); } } }