public class Solution {
    public static void main(String[] args) throws Exception {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        int[] array = new int[20];
        int[] a = new int[10];
        int[] b = new int[10];
        for(int i =0; i <= 19; i++ )
            array[i] = Integer.parseInt(reader.readLine());
        System.arraycopy (array, 0, a, 0, 10);
        for(int i = 0; i <= a.length; i++ ) { }

        System.arraycopy (array, 10, b, 0, 10);
        for(int i = 0; i <= b.length; i++ ) {
            System.out.println(b[i]);
        }
    }
}