import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int k = scan.nextInt();
        int x = scan.nextInt();
        int min = x - k + 1;
        int max = k + x - 1;
        if(min < -1000000){
            min = -1000000;
        }
        if(max > 1000000){
            max = 1000000;
        }
        for(int i = min; i <= max; i++){
            System.out.print(i + " ");
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int k = scan.nextInt();
        int x = scan.nextInt();
        int min = x - k + 1;
        int max = k + x - 1;
        if(min < -1000000){
            min = -1000000;
        }
        if(max > 1000000){
            max = 1000000;
        }
        for(int i = min; i <= max; i++){
            System.out.print(i + " ");
        }
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int k = scan.nextInt();
        int x = scan.nextInt();
        int min = x - k + 1;
        int max = k + x - 1;
        if(min < -1000000){
            min = -1000000;
        }
        if(max > 1000000){
            max = 1000000;
        }
        for(int i = min; i <= max; i++){
            System.out.print(i + " ");
        }
    } main {
        Scanner scan = new Scanner(System.in);
        int k = scan.nextInt();
        int x = scan.nextInt();
        int min = x - k + 1;
        int max = k + x - 1;
        if(min < -1000000){
            min = -1000000;
        }
        if(max > 1000000){
            max = 1000000;
        }
        for(int i = min; i <= max; i++){
            System.out.print(i + " ");
        }
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int k = scan.nextInt(); k scan.nextInt() scan.nextInt scan int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int min = x - k + 1; min x - k + 1 x - k x k 1 int max = k + x - 1; max k + x - 1 k + x k x 1 if(min < -1000000){
            min = -1000000;
        } min < -1000000 min -1000000 1000000 {
            min = -1000000;
        } min = -1000000 min -1000000 1000000 if(max > 1000000){
            max = 1000000;
        } max > 1000000 max 1000000 {
            max = 1000000;
        } max = 1000000 max 1000000 for(int i = min; i <= max; i++){
            System.out.print(i + " ");
        } int i = min; int i = min; i min i <= max i max 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 scan = new Scanner(System.in);
        int k = scan.nextInt();
        int x = scan.nextInt();
        int min = x - k + 1;
        int max = k + x - 1;
        if(min < -1000000){
            min = -1000000;
        }
        if(max > 1000000){
            max = 1000000;
        }
        for(int i = min; i <= max; i++){
            System.out.print(i + " ");
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int k = scan.nextInt();
        int x = scan.nextInt();
        int min = x - k + 1;
        int max = k + x - 1;
        if(min < -1000000){
            min = -1000000;
        }
        if(max > 1000000){
            max = 1000000;
        }
        for(int i = min; i <= max; i++){
            System.out.print(i + " ");
        }
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int k = scan.nextInt();
        int x = scan.nextInt();
        int min = x - k + 1;
        int max = k + x - 1;
        if(min < -1000000){
            min = -1000000;
        }
        if(max > 1000000){
            max = 1000000;
        }
        for(int i = min; i <= max; i++){
            System.out.print(i + " ");
        }
    }
}