import java.util.Scanner;
import java.io.PrintWriter;

public class Main { //クラス名はMain
    public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      PrintWriter out = new PrintWriter(System.out);
      int k = Integer.parseInt(sc.next());
      int x = Integer.parseInt(sc.next());
      String ans = "";
      for(int i = x;i>=-100000 && i>x-k;i--){
        ans = i + " " + ans;
      }
      for(int i = x+1;i<=1000000 && i<x+k;i++){
        ans += (i+" ");
      }
      out.println(ans.substring(0,ans.length()));
      out.flush();
    }
} import java.util.Scanner; Scanner java.util import java.io.PrintWriter; PrintWriter java.io public class Main { //クラス名はMain
    public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      PrintWriter out = new PrintWriter(System.out);
      int k = Integer.parseInt(sc.next());
      int x = Integer.parseInt(sc.next());
      String ans = "";
      for(int i = x;i>=-100000 && i>x-k;i--){
        ans = i + " " + ans;
      }
      for(int i = x+1;i<=1000000 && i<x+k;i++){
        ans += (i+" ");
      }
      out.println(ans.substring(0,ans.length()));
      out.flush();
    }
} Main public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      PrintWriter out = new PrintWriter(System.out);
      int k = Integer.parseInt(sc.next());
      int x = Integer.parseInt(sc.next());
      String ans = "";
      for(int i = x;i>=-100000 && i>x-k;i--){
        ans = i + " " + ans;
      }
      for(int i = x+1;i<=1000000 && i<x+k;i++){
        ans += (i+" ");
      }
      out.println(ans.substring(0,ans.length()));
      out.flush();
    } main {
      Scanner sc = new Scanner(System.in);
      PrintWriter out = new PrintWriter(System.out);
      int k = Integer.parseInt(sc.next());
      int x = Integer.parseInt(sc.next());
      String ans = "";
      for(int i = x;i>=-100000 && i>x-k;i--){
        ans = i + " " + ans;
      }
      for(int i = x+1;i<=1000000 && i<x+k;i++){
        ans += (i+" ");
      }
      out.println(ans.substring(0,ans.length()));
      out.flush();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) int k = Integer.parseInt(sc.next()); k Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc String ans = ""; ans "" for(int i = x;i>=-100000 && i>x-k;i--){
        ans = i + " " + ans;
      } int i = x; int i = x; i x i>=-100000 && i>x-k i>=-100000 i -100000 100000 i>x-k i x-k x k i-- i-- i {
        ans = i + " " + ans;
      } {
        ans = i + " " + ans;
      } ans = i + " " + ans ans i + " " + ans i + " " + ans i " " ans for(int i = x+1;i<=1000000 && i<x+k;i++){
        ans += (i+" ");
      } int i = x+1; int i = x+1; i x+1 x 1 i<=1000000 && i<x+k i<=1000000 i 1000000 i<x+k i x+k x k i++ i++ i {
        ans += (i+" ");
      } {
        ans += (i+" ");
      } ans += (i+" ") ans (i+" ") i " " out.println(ans.substring(0,ans.length())) out.println out ans.substring(0,ans.length()) ans.substring ans 0 ans.length() ans.length ans out.flush() out.flush out String[] args args public class Main { //クラス名はMain
    public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      PrintWriter out = new PrintWriter(System.out);
      int k = Integer.parseInt(sc.next());
      int x = Integer.parseInt(sc.next());
      String ans = "";
      for(int i = x;i>=-100000 && i>x-k;i--){
        ans = i + " " + ans;
      }
      for(int i = x+1;i<=1000000 && i<x+k;i++){
        ans += (i+" ");
      }
      out.println(ans.substring(0,ans.length()));
      out.flush();
    }
} public class Main { //クラス名はMain
    public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      PrintWriter out = new PrintWriter(System.out);
      int k = Integer.parseInt(sc.next());
      int x = Integer.parseInt(sc.next());
      String ans = "";
      for(int i = x;i>=-100000 && i>x-k;i--){
        ans = i + " " + ans;
      }
      for(int i = x+1;i<=1000000 && i<x+k;i++){
        ans += (i+" ");
      }
      out.println(ans.substring(0,ans.length()));
      out.flush();
    }
} Main
import java.util.Scanner;
import java.io.PrintWriter;

public class Main { //クラス名はMain
    public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      PrintWriter out = new PrintWriter(System.out);
      int k = Integer.parseInt(sc.next());
      int x = Integer.parseInt(sc.next());
      String ans = "";
      for(int i = x;i>=-100000 && i>x-k;i--){
        ans = i + " " + ans;
      }
      for(int i = x+1;i<=1000000 && i<x+k;i++){
        ans += (i+" ");
      }
      out.println(ans.substring(0,ans.length()));
      out.flush();
    }
}