public class Solution {
    public static void main(String[] args) throws Exception {
        //write your code here
        BufferedReader reader= new BufferedReader(new InputStreamReader(System.in));
        int[] bigArray=new int[20];
        int[] smallArray1=new int[10];
        int[] smallArray2=new int[10];
        for (int i=0;i<20;i++){
            bigArray[i]=Integer.parseInt(reader.readLine());
            if(i<10) smallArray1[i]=bigArray[i];
            else smallArray2[i-10]=bigArray[i];
            System.out.println(smallArray2[i-10]);
        }
    }
}