import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /* 只做难题,那就保存难题。输出就行了。。。 */ public class Main { public static void main(String[] args) throws IOException { BufferedReader reader=new BufferedReader(new InputStreamReader(System.in)); String line = reader.readLine(); String[] s = line.split(" "); int times = Integer.parseInt(s[0]); int skip=Integer.parseInt(s[1]); int hard=0; List<String> list=new ArrayList(); for (int i = 0; i < times; i++) { String data = reader.readLine(); if (data.contains("qiandao")||data.contains("easy")){ //skip }else { //把难题目保存 list.add(data); hard++; } } //输出老师在做哪一个? // skip if (hard<=skip){ System.out.println("Wo AK le"); }else { System.out.print(list.get(skip)); } } }