import java.io.*;
import java.util.Arrays;
public class ExerciseRunner {
public static void main(String[] args) throws IOException {
System.out.println(Arrays.toString(ReverseArray.reverse(new Integer[]{4, 2, 1, 3})));
}