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