this is not passing the 3rd condition package com.codegym.task.task07.task0705; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; import java.util.Arrays; /* One large array and two small ones */ public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner read = new Scanner(System.in); int [] arr = new int[20]; for(int i = 0; i < 20; i++) { arr[i] = read.nextInt(); } int [] first = Arrays.copyOfRange(arr, 0, 10); int [] sec = Arrays.copyOfRange(arr, 10, 20); for(int i = 0; i<10; i++){ System.out.println(sec[i]); } } }