let rec range first last f =
	if first <= last then
	begin
		f first;
		range (first + 1) last f
	end
	else
		()

let () =
	let [n; x] =
		read_line ()
		|> Str.split (Str.regexp " ")
		|> List.map int_of_string
	in
	if n = x then
	begin
		print_endline "Yes";
		range 1 (2 * n - 1) (fun x ->
			print_int x;
			print_newline ();
		)
	end
	else
		print_endline "No"
