import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		int min = Math.max(-1000000, X-(K-1));
		int max = Math.min(1000000, X+(K-1));
		
		for(int i=0;i<max-min+1;i++) {
			int p = min + i;
			System.out.print(p);
			if(p != max) {
				System.out.print(" ");
			}
		}
		
		sc.close();	
	}
} import java.util.Scanner; Scanner 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 min = Math.max(-1000000, X-(K-1));
		int max = Math.min(1000000, X+(K-1));
		
		for(int i=0;i<max-min+1;i++) {
			int p = min + i;
			System.out.print(p);
			if(p != max) {
				System.out.print(" ");
			}
		}
		
		sc.close();	
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		int min = Math.max(-1000000, X-(K-1));
		int max = Math.min(1000000, X+(K-1));
		
		for(int i=0;i<max-min+1;i++) {
			int p = min + i;
			System.out.print(p);
			if(p != max) {
				System.out.print(" ");
			}
		}
		
		sc.close();	
	} main {
		Scanner sc = new Scanner(System.in);
		
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		int min = Math.max(-1000000, X-(K-1));
		int max = Math.min(1000000, X+(K-1));
		
		for(int i=0;i<max-min+1;i++) {
			int p = min + i;
			System.out.print(p);
			if(p != max) {
				System.out.print(" ");
			}
		}
		
		sc.close();	
	} 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 min = Math.max(-1000000, X-(K-1)); min Math.max(-1000000, X-(K-1)) Math.max Math -1000000 1000000 X-(K-1) X (K-1) K 1 int max = Math.min(1000000, X+(K-1)); max Math.min(1000000, X+(K-1)) Math.min Math 1000000 X+(K-1) X (K-1) K 1 for(int i=0;i<max-min+1;i++) {
			int p = min + i;
			System.out.print(p);
			if(p != max) {
				System.out.print(" ");
			}
		} int i=0; int i=0; i 0 i<max-min+1 i max-min+1 max-min max min 1 i++ i++ i {
			int p = min + i;
			System.out.print(p);
			if(p != max) {
				System.out.print(" ");
			}
		} {
			int p = min + i;
			System.out.print(p);
			if(p != max) {
				System.out.print(" ");
			}
		} int p = min + i; p min + i min i System.out.print(p) System.out.print System.out System System.out p if(p != max) {
				System.out.print(" ");
			} p != max p max {
				System.out.print(" ");
			} System.out.print(" ") System.out.print System.out System System.out " " sc.close() sc.close sc 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 min = Math.max(-1000000, X-(K-1));
		int max = Math.min(1000000, X+(K-1));
		
		for(int i=0;i<max-min+1;i++) {
			int p = min + i;
			System.out.print(p);
			if(p != max) {
				System.out.print(" ");
			}
		}
		
		sc.close();	
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		int min = Math.max(-1000000, X-(K-1));
		int max = Math.min(1000000, X+(K-1));
		
		for(int i=0;i<max-min+1;i++) {
			int p = min + i;
			System.out.print(p);
			if(p != max) {
				System.out.print(" ");
			}
		}
		
		sc.close();	
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		int min = Math.max(-1000000, X-(K-1));
		int max = Math.min(1000000, X+(K-1));
		
		for(int i=0;i<max-min+1;i++) {
			int p = min + i;
			System.out.print(p);
			if(p != max) {
				System.out.print(" ");
			}
		}
		
		sc.close();	
	}
}