BufferedReader b = new BufferedReader(new InputStreamReader(System.in));
int[] ii = new int[20];
for(int i=0; i<20; i++)
{
ii[i] = Integer.parseInt(b.readLine());
}
int[] i1 = new int[10];
int[] i2 = new int[10];
for(int iii=0; iii<10; iii++)
{
i1[iii] = ii[iii];
}
for(int iiii=10; iiii<=19; iiii++)
{
i2[iiii] = ii[iiii];
System.out.println(i2[iiii]);
}
package com.codegym.task.task07.task0705;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
One large array and two small ones
*/
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
BufferedReader b = new BufferedReader(new InputStreamReader(System.in));
int[] ii = new int[20];
for(int i=0; i<20; i++)
{
ii[i] = Integer.parseInt(b.readLine());
}
int[] i1 = new int[10];
int[] i2 = new int[10];
for(int iii=0; iii<10; iii++)
{
i1[iii] = ii[iii];
}
for(int iiii=10; iiii<=19; iiii++)
{
i2[iiii] = ii[iiii];
System.out.println(i2[iiii]);
}
}
}