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