package com.codegym.task.task07.task0704;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Flip the array
*/
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
int satya[] = new int[10];
int i = 0;
while(i < 9){
satya[i] = Integer.parseInt(buf.readLine());
i++;
}
System.out.println(satya[9]);
System.out.println(satya[8]);
System.out.println(satya[7]);
System.out.println(satya[6]);
System.out.println(satya[5]);
System.out.println(satya[4]);
System.out.println(satya[3]);
System.out.println(satya[2]);
System.out.println(satya[1]);
System.out.println(satya[0]);
}
}
package com.codegym.task.task07.task0704;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Flip the array
*/
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
int satya[] = new int[10];
int i = 0;
while(i < 9){
satya[i] = Integer.parseInt(buf.readLine());
i++;
}
System.out.println(satya[9]);
System.out.println(satya[8]);
System.out.println(satya[7]);
System.out.println(satya[6]);
System.out.println(satya[5]);
System.out.println(satya[4]);
System.out.println(satya[3]);
System.out.println(satya[2]);
System.out.println(satya[1]);
System.out.println(satya[0]);
}
}