import std.stdio;
import std.algorithm;
import std.math;
import std.conv;
import std.string;

T readNum(T)(){
  return readStr.to!T;
}

T[] readNums(T)(){
  return readStr.split.to!(T[]);
}

string readStr(){
  return readln.chomp;
}

void main(){
  auto a = readNums!int;
  foreach(i; 0 .. (2*a[0]-2)){
    write(i + a[1]-a[0]+1, " ");
  }

  writeln(a[1]+a[0]-1);
}
