import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    int y1 = 1000000;
    int y2 = (-1) * y1;
    int x1 = Math.max(x - k + 1, y2);
    int x2 = Math.min(x + k - 1, y1);
    for(int i = x1; i <= x2; i++) {
      System.out.print(i + " ");
    }
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    int y1 = 1000000;
    int y2 = (-1) * y1;
    int x1 = Math.max(x - k + 1, y2);
    int x2 = Math.min(x + k - 1, y1);
    for(int i = x1; i <= x2; i++) {
      System.out.print(i + " ");
    }
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    int y1 = 1000000;
    int y2 = (-1) * y1;
    int x1 = Math.max(x - k + 1, y2);
    int x2 = Math.min(x + k - 1, y1);
    for(int i = x1; i <= x2; i++) {
      System.out.print(i + " ");
    }
  } main {
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    int y1 = 1000000;
    int y2 = (-1) * y1;
    int x1 = Math.max(x - k + 1, y2);
    int x2 = Math.min(x + k - 1, y1);
    for(int i = x1; i <= x2; i++) {
      System.out.print(i + " ");
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y1 = 1000000; y1 1000000 int y2 = (-1) * y1; y2 (-1) * y1 (-1) 1 y1 int x1 = Math.max(x - k + 1, y2); x1 Math.max(x - k + 1, y2) Math.max Math x - k + 1 x - k x k 1 y2 int x2 = Math.min(x + k - 1, y1); x2 Math.min(x + k - 1, y1) Math.min Math x + k - 1 x + k x k 1 y1 for(int i = x1; i <= x2; i++) {
      System.out.print(i + " ");
    } int i = x1; int i = x1; i x1 i <= x2 i x2 i++ i++ i {
      System.out.print(i + " ");
    } {
      System.out.print(i + " ");
    } System.out.print(i + " ") System.out.print System.out System System.out i + " " i " " String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    int y1 = 1000000;
    int y2 = (-1) * y1;
    int x1 = Math.max(x - k + 1, y2);
    int x2 = Math.min(x + k - 1, y1);
    for(int i = x1; i <= x2; i++) {
      System.out.print(i + " ");
    }
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    int y1 = 1000000;
    int y2 = (-1) * y1;
    int x1 = Math.max(x - k + 1, y2);
    int x2 = Math.min(x + k - 1, y1);
    for(int i = x1; i <= x2; i++) {
      System.out.print(i + " ");
    }
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    int y1 = 1000000;
    int y2 = (-1) * y1;
    int x1 = Math.max(x - k + 1, y2);
    int x2 = Math.min(x + k - 1, y1);
    for(int i = x1; i <= x2; i++) {
      System.out.print(i + " ");
    }
  }
}