import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
        StringBuilder sb = new StringBuilder();
        for (int i = 1; i < k; i++) {
            sb.append(x - (k-i)).append(" ");
        }
        sb.append(x).append(" ");
        for (int i = 1; i < k; i++) {
            sb.append(x + i).append(" ");
        }
        System.out.println(sb.toString());
        sc.close();

    }

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

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
        StringBuilder sb = new StringBuilder();
        for (int i = 1; i < k; i++) {
            sb.append(x - (k-i)).append(" ");
        }
        sb.append(x).append(" ");
        for (int i = 1; i < k; i++) {
            sb.append(x + i).append(" ");
        }
        System.out.println(sb.toString());
        sc.close();

    }

} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
        StringBuilder sb = new StringBuilder();
        for (int i = 1; i < k; i++) {
            sb.append(x - (k-i)).append(" ");
        }
        sb.append(x).append(" ");
        for (int i = 1; i < k; i++) {
            sb.append(x + i).append(" ");
        }
        System.out.println(sb.toString());
        sc.close();

    } main {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
        StringBuilder sb = new StringBuilder();
        for (int i = 1; i < k; i++) {
            sb.append(x - (k-i)).append(" ");
        }
        sb.append(x).append(" ");
        for (int i = 1; i < k; i++) {
            sb.append(x + i).append(" ");
        }
        System.out.println(sb.toString());
        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 StringBuilder sb = new StringBuilder(); sb new StringBuilder() for (int i = 1; i < k; i++) {
            sb.append(x - (k-i)).append(" ");
        } int i = 1; int i = 1; i 1 i < k i k i++ i++ i {
            sb.append(x - (k-i)).append(" ");
        } {
            sb.append(x - (k-i)).append(" ");
        } sb.append(x - (k-i)).append(" ") sb.append(x - (k-i)).append sb.append(x - (k-i)) sb.append sb x - (k-i) x (k-i) k i " " sb.append(x).append(" ") sb.append(x).append sb.append(x) sb.append sb x " " for (int i = 1; i < k; i++) {
            sb.append(x + i).append(" ");
        } int i = 1; int i = 1; i 1 i < k i k i++ i++ i {
            sb.append(x + i).append(" ");
        } {
            sb.append(x + i).append(" ");
        } sb.append(x + i).append(" ") sb.append(x + i).append sb.append(x + i) sb.append sb x + i x i " " System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb sc.close() sc.close sc String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
        StringBuilder sb = new StringBuilder();
        for (int i = 1; i < k; i++) {
            sb.append(x - (k-i)).append(" ");
        }
        sb.append(x).append(" ");
        for (int i = 1; i < k; i++) {
            sb.append(x + i).append(" ");
        }
        System.out.println(sb.toString());
        sc.close();

    }

} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
        StringBuilder sb = new StringBuilder();
        for (int i = 1; i < k; i++) {
            sb.append(x - (k-i)).append(" ");
        }
        sb.append(x).append(" ");
        for (int i = 1; i < k; i++) {
            sb.append(x + i).append(" ");
        }
        System.out.println(sb.toString());
        sc.close();

    }

} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
        StringBuilder sb = new StringBuilder();
        for (int i = 1; i < k; i++) {
            sb.append(x - (k-i)).append(" ");
        }
        sb.append(x).append(" ");
        for (int i = 1; i < k; i++) {
            sb.append(x + i).append(" ");
        }
        System.out.println(sb.toString());
        sc.close();

    }

}
