import java.util.*;

public class Main {

    public static void printX(int n){
        if(n <= 1000000 && n >= -1000000){
            System.out.print(n);
        }
    }

    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int N = 2000001;

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

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

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


    }
} import java.util.*; util.* java public class Main {

    public static void printX(int n){
        if(n <= 1000000 && n >= -1000000){
            System.out.print(n);
        }
    }

    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int N = 2000001;

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

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

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


    }
} Main public static void printX(int n){
        if(n <= 1000000 && n >= -1000000){
            System.out.print(n);
        }
    } printX {
        if(n <= 1000000 && n >= -1000000){
            System.out.print(n);
        }
    } if(n <= 1000000 && n >= -1000000){
            System.out.print(n);
        } n <= 1000000 && n >= -1000000 n <= 1000000 n 1000000 n >= -1000000 n -1000000 1000000 {
            System.out.print(n);
        } System.out.print(n) System.out.print System.out System System.out n int n n public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int N = 2000001;

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

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

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


    } main {
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int N = 2000001;

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

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

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


    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = 2000001; N 2000001 int K = sc.nextInt(); K sc.nextInt() sc.nextInt sc int X = sc.nextInt(); X sc.nextInt() sc.nextInt sc for(int i = X - K + 1; i <= X; i++){
            printX(i);
            System.out.print(" ");
        } int i = X - K + 1; int i = X - K + 1; i X - K + 1 X - K X K 1 i <= X i X i++ i++ i {
            printX(i);
            System.out.print(" ");
        } {
            printX(i);
            System.out.print(" ");
        } printX(i) printX i System.out.print(" ") System.out.print System.out System System.out " " for(int i = X+1; i < X + K; i++){
            printX(i);
            if(i != X + K -1){
                System.out.print(" ");
            }
        } int i = X+1; int i = X+1; i X+1 X 1 i < X + K i X + K X K i++ i++ i {
            printX(i);
            if(i != X + K -1){
                System.out.print(" ");
            }
        } {
            printX(i);
            if(i != X + K -1){
                System.out.print(" ");
            }
        } printX(i) printX i if(i != X + K -1){
                System.out.print(" ");
            } i != X + K -1 i X + K -1 X + K X K 1 {
                System.out.print(" ");
            } System.out.print(" ") System.out.print System.out System System.out " " String[] args args public class Main {

    public static void printX(int n){
        if(n <= 1000000 && n >= -1000000){
            System.out.print(n);
        }
    }

    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int N = 2000001;

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

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

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


    }
} public class Main {

    public static void printX(int n){
        if(n <= 1000000 && n >= -1000000){
            System.out.print(n);
        }
    }

    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int N = 2000001;

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

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

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


    }
} Main
import java.util.*;

public class Main {

    public static void printX(int n){
        if(n <= 1000000 && n >= -1000000){
            System.out.print(n);
        }
    }

    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int N = 2000001;

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

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

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


    }
}