public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String line = "";
		StringBuilder out = new StringBuilder();
		while ((line = in.readLine()) != null && line.length() != 0) {
			int[] v = retInts(line);
			int pos = 0;
			for (int i = 0; i < p.size(); i++)
				if (p.get(i) <= v[0])
					pos = i;
				else
					break;
			out.append(line + ":");
			if (pos < v[1] * 2)
				for (int i = 0; i <= pos; i++)
					out.append(" " + p.get(i));
			else {
				int c = --pos / 2;
				for (int i = c - v[1] + 1 + pos % 2; i <= c + v[1]; i++)
					out.append(" " + p.get(i));
			}
			out.append("\n\n");
		}
		System.out.print(out);
	}