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 start = x-k+1;
      	int end = x+k-1;
      	if(start<-1000000){
          start=-1000000;
        }
      	if(end>1000000){
          end=1000000;
        }
     for(int i=start;i<=end;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 start = x-k+1;
      	int end = x+k-1;
      	if(start<-1000000){
          start=-1000000;
        }
      	if(end>1000000){
          end=1000000;
        }
     for(int i=start;i<=end;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 start = x-k+1;
      	int end = x+k-1;
      	if(start<-1000000){
          start=-1000000;
        }
      	if(end>1000000){
          end=1000000;
        }
     for(int i=start;i<=end;i++){
       System.out.print(i + " ");
    }
    } main {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int k = sc.nextInt();
		// スペース区切りの整数の入力
		int x = sc.nextInt();
       	int start = x-k+1;
      	int end = x+k-1;
      	if(start<-1000000){
          start=-1000000;
        }
      	if(end>1000000){
          end=1000000;
        }
     for(int i=start;i<=end;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 start = x-k+1; start x-k+1 x-k x k 1 int end = x+k-1; end x+k-1 x+k x k 1 if(start<-1000000){
          start=-1000000;
        } start<-1000000 start -1000000 1000000 {
          start=-1000000;
        } start=-1000000 start -1000000 1000000 if(end>1000000){
          end=1000000;
        } end>1000000 end 1000000 {
          end=1000000;
        } end=1000000 end 1000000 for(int i=start;i<=end;i++){
       System.out.print(i + " ");
    } int i=start; int i=start; i start i<=end i end 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 start = x-k+1;
      	int end = x+k-1;
      	if(start<-1000000){
          start=-1000000;
        }
      	if(end>1000000){
          end=1000000;
        }
     for(int i=start;i<=end;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 start = x-k+1;
      	int end = x+k-1;
      	if(start<-1000000){
          start=-1000000;
        }
      	if(end>1000000){
          end=1000000;
        }
     for(int i=start;i<=end;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 start = x-k+1;
      	int end = x+k-1;
      	if(start<-1000000){
          start=-1000000;
        }
      	if(end>1000000){
          end=1000000;
        }
     for(int i=start;i<=end;i++){
       System.out.print(i + " ");
    }
    }
}