import java.util.*;class _{static{String[]z;for(Scanner s=new Scanner(System.in);s==s;System.out.println(z.length>1?z[1]:""))z=s.nextLine().trim().split(" +");}}