import std.stdio, std.conv, std.array;
import std.algorithm;

void main() {
  int k, x;
  readf("%d %d\n", &k, &x);

  enum MIN = -1000000;
  enum MAX = 1000000;

  int left = max(MIN, x-k+1);
  int right = min(MAX, x+k-1);

  writef("%s", left);
  foreach (i; left+1 .. right+1) {
    writef(" %s", i);
  }
}
