import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
        int X = sc.nextInt();
        int posi = X -(K-1);
        	for(int i=0;i<(K-1)*2+1;i++) {
        		System.out.print(posi);
        			if(i != ((K-1)*2+1)-1)
        				System.out.print(" ");
        		posi++;
        	}
        sc.close();
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
        int X = sc.nextInt();
        int posi = X -(K-1);
        	for(int i=0;i<(K-1)*2+1;i++) {
        		System.out.print(posi);
        			if(i != ((K-1)*2+1)-1)
        				System.out.print(" ");
        		posi++;
        	}
        sc.close();
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
        int X = sc.nextInt();
        int posi = X -(K-1);
        	for(int i=0;i<(K-1)*2+1;i++) {
        		System.out.print(posi);
        			if(i != ((K-1)*2+1)-1)
        				System.out.print(" ");
        		posi++;
        	}
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
        int X = sc.nextInt();
        int posi = X -(K-1);
        	for(int i=0;i<(K-1)*2+1;i++) {
        		System.out.print(posi);
        			if(i != ((K-1)*2+1)-1)
        				System.out.print(" ");
        		posi++;
        	}
        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int K = sc.nextInt(); K sc.nextInt() sc.nextInt sc int X = sc.nextInt(); X sc.nextInt() sc.nextInt sc int posi = X -(K-1); posi X -(K-1) X (K-1) K 1 for(int i=0;i<(K-1)*2+1;i++) {
        		System.out.print(posi);
        			if(i != ((K-1)*2+1)-1)
        				System.out.print(" ");
        		posi++;
        	} int i=0; int i=0; i 0 i<(K-1)*2+1 i (K-1)*2+1 (K-1)*2 (K-1) K 1 2 1 i++ i++ i {
        		System.out.print(posi);
        			if(i != ((K-1)*2+1)-1)
        				System.out.print(" ");
        		posi++;
        	} {
        		System.out.print(posi);
        			if(i != ((K-1)*2+1)-1)
        				System.out.print(" ");
        		posi++;
        	} System.out.print(posi) System.out.print System.out System System.out posi if(i != ((K-1)*2+1)-1)
        				System.out.print(" "); i != ((K-1)*2+1)-1 i ((K-1)*2+1)-1 ((K-1)*2+1) (K-1)*2 (K-1) K 1 2 1 1 System.out.print(" ") System.out.print System.out System System.out " " posi++ posi sc.close() sc.close sc String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
        int X = sc.nextInt();
        int posi = X -(K-1);
        	for(int i=0;i<(K-1)*2+1;i++) {
        		System.out.print(posi);
        			if(i != ((K-1)*2+1)-1)
        				System.out.print(" ");
        		posi++;
        	}
        sc.close();
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
        int X = sc.nextInt();
        int posi = X -(K-1);
        	for(int i=0;i<(K-1)*2+1;i++) {
        		System.out.print(posi);
        			if(i != ((K-1)*2+1)-1)
        				System.out.print(" ");
        		posi++;
        	}
        sc.close();
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
        int X = sc.nextInt();
        int posi = X -(K-1);
        	for(int i=0;i<(K-1)*2+1;i++) {
        		System.out.print(posi);
        			if(i != ((K-1)*2+1)-1)
        				System.out.print(" ");
        		posi++;
        	}
        sc.close();
    }
}