import java.util.*;
public class Main {
    Scanner sc = new Scanner(System.in);
    public static void main(String args[]) {
	new Main().doIt();
    }
    void doIt() { B(); }
    void B() {
	int K =	sc.nextInt(), X	= sc.nextInt();
	ArrayList<Integer> ans = new ArrayList<Integer>();
	for(int	i = X-(K-1); i <= X+(K-1); i++) ans.add(i);
        //      System.out.println(ans);                                                         
	for(Integer i: ans) System.out.print(" " + i);
	System.out.println();
    }
    void A() {
        int A = sc.nextInt(), B = sc.nextInt();
	int ans = A+B;
	ans = Math.max(ans, Math.max(A-B, A*B));
	System.out.println(ans);
    }
} import java.util.*; util.* java public class Main {
    Scanner sc = new Scanner(System.in);
    public static void main(String args[]) {
	new Main().doIt();
    }
    void doIt() { B(); }
    void B() {
	int K =	sc.nextInt(), X	= sc.nextInt();
	ArrayList<Integer> ans = new ArrayList<Integer>();
	for(int	i = X-(K-1); i <= X+(K-1); i++) ans.add(i);
        //      System.out.println(ans);                                                         
	for(Integer i: ans) System.out.print(" " + i);
	System.out.println();
    }
    void A() {
        int A = sc.nextInt(), B = sc.nextInt();
	int ans = A+B;
	ans = Math.max(ans, Math.max(A-B, A*B));
	System.out.println(ans);
    }
} Main Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String args[]) {
	new Main().doIt();
    } main {
	new Main().doIt();
    } new Main().doIt() new Main().doIt new Main() String args[] args void doIt() { B(); } doIt { B(); } B() B void B() {
	int K =	sc.nextInt(), X	= sc.nextInt();
	ArrayList<Integer> ans = new ArrayList<Integer>();
	for(int	i = X-(K-1); i <= X+(K-1); i++) ans.add(i);
        //      System.out.println(ans);                                                         
	for(Integer i: ans) System.out.print(" " + i);
	System.out.println();
    } B {
	int K =	sc.nextInt(), X	= sc.nextInt();
	ArrayList<Integer> ans = new ArrayList<Integer>();
	for(int	i = X-(K-1); i <= X+(K-1); i++) ans.add(i);
        //      System.out.println(ans);                                                         
	for(Integer i: ans) System.out.print(" " + i);
	System.out.println();
    } int K =	sc.nextInt() K sc.nextInt() sc.nextInt sc X	= sc.nextInt(); X sc.nextInt() sc.nextInt sc ArrayList<Integer> ans = new ArrayList<Integer>(); ans new ArrayList<Integer>() for(int	i = X-(K-1); i <= X+(K-1); i++) ans.add(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 ans.add(i); ans.add(i) ans.add ans i for(Integer i: ans) System.out.print(" " + i); Integer i ans System.out.print(" " + i); System.out.print(" " + i) System.out.print System.out System System.out " " + i " " i System.out.println() System.out.println System.out System System.out void A() {
        int A = sc.nextInt(), B = sc.nextInt();
	int ans = A+B;
	ans = Math.max(ans, Math.max(A-B, A*B));
	System.out.println(ans);
    } A {
        int A = sc.nextInt(), B = sc.nextInt();
	int ans = A+B;
	ans = Math.max(ans, Math.max(A-B, A*B));
	System.out.println(ans);
    } int A = sc.nextInt() A sc.nextInt() sc.nextInt sc B = sc.nextInt(); B sc.nextInt() sc.nextInt sc int ans = A+B; ans A+B A B ans = Math.max(ans, Math.max(A-B, A*B)) ans Math.max(ans, Math.max(A-B, A*B)) Math.max Math ans Math.max(A-B, A*B) Math.max Math A-B A B A*B A B System.out.println(ans) System.out.println System.out System System.out ans public class Main {
    Scanner sc = new Scanner(System.in);
    public static void main(String args[]) {
	new Main().doIt();
    }
    void doIt() { B(); }
    void B() {
	int K =	sc.nextInt(), X	= sc.nextInt();
	ArrayList<Integer> ans = new ArrayList<Integer>();
	for(int	i = X-(K-1); i <= X+(K-1); i++) ans.add(i);
        //      System.out.println(ans);                                                         
	for(Integer i: ans) System.out.print(" " + i);
	System.out.println();
    }
    void A() {
        int A = sc.nextInt(), B = sc.nextInt();
	int ans = A+B;
	ans = Math.max(ans, Math.max(A-B, A*B));
	System.out.println(ans);
    }
} public class Main {
    Scanner sc = new Scanner(System.in);
    public static void main(String args[]) {
	new Main().doIt();
    }
    void doIt() { B(); }
    void B() {
	int K =	sc.nextInt(), X	= sc.nextInt();
	ArrayList<Integer> ans = new ArrayList<Integer>();
	for(int	i = X-(K-1); i <= X+(K-1); i++) ans.add(i);
        //      System.out.println(ans);                                                         
	for(Integer i: ans) System.out.print(" " + i);
	System.out.println();
    }
    void A() {
        int A = sc.nextInt(), B = sc.nextInt();
	int ans = A+B;
	ans = Math.max(ans, Math.max(A-B, A*B));
	System.out.println(ans);
    }
} Main
import java.util.*;
public class Main {
    Scanner sc = new Scanner(System.in);
    public static void main(String args[]) {
	new Main().doIt();
    }
    void doIt() { B(); }
    void B() {
	int K =	sc.nextInt(), X	= sc.nextInt();
	ArrayList<Integer> ans = new ArrayList<Integer>();
	for(int	i = X-(K-1); i <= X+(K-1); i++) ans.add(i);
        //      System.out.println(ans);                                                         
	for(Integer i: ans) System.out.print(" " + i);
	System.out.println();
    }
    void A() {
        int A = sc.nextInt(), B = sc.nextInt();
	int ans = A+B;
	ans = Math.max(ans, Math.max(A-B, A*B));
	System.out.println(ans);
    }
}
