import java.util.*;

public class Main {

    public static void main(String[] args) {

    	Scanner sc = new Scanner(System.in);

    	int X = sc.nextInt();
    	int K = sc.nextInt();

    	for (int i = K-X+1; i <= K+X-1; i++) {
    		if (i >= -1000000 && i <= 1000000){
    			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 X = sc.nextInt();
    	int K = sc.nextInt();

    	for (int i = K-X+1; i <= K+X-1; i++) {
    		if (i >= -1000000 && i <= 1000000){
    			System.out.print(i + " ");
    		}
    	} 
    }
} Main public static void main(String[] args) {

    	Scanner sc = new Scanner(System.in);

    	int X = sc.nextInt();
    	int K = sc.nextInt();

    	for (int i = K-X+1; i <= K+X-1; i++) {
    		if (i >= -1000000 && i <= 1000000){
    			System.out.print(i + " ");
    		}
    	} 
    } main {

    	Scanner sc = new Scanner(System.in);

    	int X = sc.nextInt();
    	int K = sc.nextInt();

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

    	for (int i = K-X+1; i <= K+X-1; i++) {
    		if (i >= -1000000 && i <= 1000000){
    			System.out.print(i + " ");
    		}
    	} 
    }
} public class Main {

    public static void main(String[] args) {

    	Scanner sc = new Scanner(System.in);

    	int X = sc.nextInt();
    	int K = sc.nextInt();

    	for (int i = K-X+1; i <= K+X-1; i++) {
    		if (i >= -1000000 && i <= 1000000){
    			System.out.print(i + " ");
    		}
    	} 
    }
} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {

    	Scanner sc = new Scanner(System.in);

    	int X = sc.nextInt();
    	int K = sc.nextInt();

    	for (int i = K-X+1; i <= K+X-1; i++) {
    		if (i >= -1000000 && i <= 1000000){
    			System.out.print(i + " ");
    		}
    	} 
    }
}