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 l = X - (K-1) >= -1000000 ? X - (K-1) : -1000000;
    int r = X + (K+1) <=  1000000 ? X + (K-1) :  1000000;
    for (int i = l; i <= r; 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 l = X - (K-1) >= -1000000 ? X - (K-1) : -1000000;
    int r = X + (K+1) <=  1000000 ? X + (K-1) :  1000000;
    for (int i = l; i <= r; 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 l = X - (K-1) >= -1000000 ? X - (K-1) : -1000000;
    int r = X + (K+1) <=  1000000 ? X + (K-1) :  1000000;
    for (int i = l; i <= r; i++) {
      System.out.print(i + " ");
    }
  } main {
    Scanner sc = new Scanner(System.in);
    int K = sc.nextInt();
    int X = sc.nextInt();
    
    int l = X - (K-1) >= -1000000 ? X - (K-1) : -1000000;
    int r = X + (K+1) <=  1000000 ? X + (K-1) :  1000000;
    for (int i = l; i <= r; 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 l = X - (K-1) >= -1000000 ? X - (K-1) : -1000000; l X - (K-1) >= -1000000 ? X - (K-1) : -1000000 X - (K-1) >= -1000000 X - (K-1) X (K-1) K 1 -1000000 1000000 X - (K-1) X (K-1) K 1 -1000000 1000000 int r = X + (K+1) <=  1000000 ? X + (K-1) :  1000000; r X + (K+1) <=  1000000 ? X + (K-1) :  1000000 X + (K+1) <=  1000000 X + (K+1) X (K+1) K 1 1000000 X + (K-1) X (K-1) K 1 1000000 for (int i = l; i <= r; i++) {
      System.out.print(i + " ");
    } int i = l; int i = l; i l i <= r i r 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 l = X - (K-1) >= -1000000 ? X - (K-1) : -1000000;
    int r = X + (K+1) <=  1000000 ? X + (K-1) :  1000000;
    for (int i = l; i <= r; 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 l = X - (K-1) >= -1000000 ? X - (K-1) : -1000000;
    int r = X + (K+1) <=  1000000 ? X + (K-1) :  1000000;
    for (int i = l; i <= r; 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 l = X - (K-1) >= -1000000 ? X - (K-1) : -1000000;
    int r = X + (K+1) <=  1000000 ? X + (K-1) :  1000000;
    for (int i = l; i <= r; i++) {
      System.out.print(i + " ");
    }
  }
}