
import java.util.Scanner;

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

import java.util.Scanner;

class Main {
    public static void main (String[] args) {
        Scanner in = new Scanner(System.in);
        int K = in.nextInt();
        int X = in.nextInt();
        
        int MIN = -1000000;
        int MAX = 1000000;
        
        int min = MIN < X-K+1 ? X-K+1 : MIN;
        int max = MAX > X+K-1 ? X+K-1 : MAX;
        
        for(int i=min; i<=max; i++) {
            System.out.print(i+" ");
        }
    }
}