import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int A =b-a+1;
		int B =b+a;
		for(int c=A;c<B;c++){
		if(c<B-1){
			System.out.print(c+" ");
			}
		else {
			System.out.println(c);
		}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int A =b-a+1;
		int B =b+a;
		for(int c=A;c<B;c++){
		if(c<B-1){
			System.out.print(c+" ");
			}
		else {
			System.out.println(c);
		}
		}
	}
} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int A =b-a+1;
		int B =b+a;
		for(int c=A;c<B;c++){
		if(c<B-1){
			System.out.print(c+" ");
			}
		else {
			System.out.println(c);
		}
		}
	} main {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int A =b-a+1;
		int B =b+a;
		for(int c=A;c<B;c++){
		if(c<B-1){
			System.out.print(c+" ");
			}
		else {
			System.out.println(c);
		}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int A =b-a+1; A b-a+1 b-a b a 1 int B =b+a; B b+a b a for(int c=A;c<B;c++){
		if(c<B-1){
			System.out.print(c+" ");
			}
		else {
			System.out.println(c);
		}
		} int c=A; int c=A; c A c<B c B c++ c++ c {
		if(c<B-1){
			System.out.print(c+" ");
			}
		else {
			System.out.println(c);
		}
		} {
		if(c<B-1){
			System.out.print(c+" ");
			}
		else {
			System.out.println(c);
		}
		} if(c<B-1){
			System.out.print(c+" ");
			}
		else {
			System.out.println(c);
		} c<B-1 c B-1 B 1 {
			System.out.print(c+" ");
			} System.out.print(c+" ") System.out.print System.out System System.out c+" " c " " {
			System.out.println(c);
		} System.out.println(c) System.out.println System.out System System.out c String[] args args public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int A =b-a+1;
		int B =b+a;
		for(int c=A;c<B;c++){
		if(c<B-1){
			System.out.print(c+" ");
			}
		else {
			System.out.println(c);
		}
		}
	}
} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int A =b-a+1;
		int B =b+a;
		for(int c=A;c<B;c++){
		if(c<B-1){
			System.out.print(c+" ");
			}
		else {
			System.out.println(c);
		}
		}
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int A =b-a+1;
		int B =b+a;
		for(int c=A;c<B;c++){
		if(c<B-1){
			System.out.print(c+" ");
			}
		else {
			System.out.println(c);
		}
		}
	}
}
