import java.util.Scanner;

public class Main {
    public static void debug(String str) {
        boolean debug = false;
        if (debug != false) {
            return;
        }
        System.out.println(str);
    }

    public static void main(String[] args) {

        long K;
        long X;

        try (Scanner sc = new Scanner(System.in)) {
            K = sc.nextLong();
            X = sc.nextLong();
        }
        StringBuilder sb = new StringBuilder();

        for(int i = -1000000;i < 1000001;i++){
            if( i <= X &&i + (K-1) >= X ){
                sb.append(i).append(" ");
            }else if(i >= X && i -(K-1) <= X){
                sb.append(i).append(" ");
            }
        }
        System.out.println(sb.toString());
        return;

    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void debug(String str) {
        boolean debug = false;
        if (debug != false) {
            return;
        }
        System.out.println(str);
    }

    public static void main(String[] args) {

        long K;
        long X;

        try (Scanner sc = new Scanner(System.in)) {
            K = sc.nextLong();
            X = sc.nextLong();
        }
        StringBuilder sb = new StringBuilder();

        for(int i = -1000000;i < 1000001;i++){
            if( i <= X &&i + (K-1) >= X ){
                sb.append(i).append(" ");
            }else if(i >= X && i -(K-1) <= X){
                sb.append(i).append(" ");
            }
        }
        System.out.println(sb.toString());
        return;

    }
} Main public static void debug(String str) {
        boolean debug = false;
        if (debug != false) {
            return;
        }
        System.out.println(str);
    } debug {
        boolean debug = false;
        if (debug != false) {
            return;
        }
        System.out.println(str);
    } boolean debug = false; debug false if (debug != false) {
            return;
        } debug != false debug false {
            return;
        } return; System.out.println(str) System.out.println System.out System System.out str String str str public static void main(String[] args) {

        long K;
        long X;

        try (Scanner sc = new Scanner(System.in)) {
            K = sc.nextLong();
            X = sc.nextLong();
        }
        StringBuilder sb = new StringBuilder();

        for(int i = -1000000;i < 1000001;i++){
            if( i <= X &&i + (K-1) >= X ){
                sb.append(i).append(" ");
            }else if(i >= X && i -(K-1) <= X){
                sb.append(i).append(" ");
            }
        }
        System.out.println(sb.toString());
        return;

    } main {

        long K;
        long X;

        try (Scanner sc = new Scanner(System.in)) {
            K = sc.nextLong();
            X = sc.nextLong();
        }
        StringBuilder sb = new StringBuilder();

        for(int i = -1000000;i < 1000001;i++){
            if( i <= X &&i + (K-1) >= X ){
                sb.append(i).append(" ");
            }else if(i >= X && i -(K-1) <= X){
                sb.append(i).append(" ");
            }
        }
        System.out.println(sb.toString());
        return;

    } long K; K long X; X try (Scanner sc = new Scanner(System.in)) {
            K = sc.nextLong();
            X = sc.nextLong();
        } {
            K = sc.nextLong();
            X = sc.nextLong();
        } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) K = sc.nextLong() K sc.nextLong() sc.nextLong sc X = sc.nextLong() X sc.nextLong() sc.nextLong sc StringBuilder sb = new StringBuilder(); sb new StringBuilder() for(int i = -1000000;i < 1000001;i++){
            if( i <= X &&i + (K-1) >= X ){
                sb.append(i).append(" ");
            }else if(i >= X && i -(K-1) <= X){
                sb.append(i).append(" ");
            }
        } int i = -1000000; int i = -1000000; i -1000000 1000000 i < 1000001 i 1000001 i++ i++ i {
            if( i <= X &&i + (K-1) >= X ){
                sb.append(i).append(" ");
            }else if(i >= X && i -(K-1) <= X){
                sb.append(i).append(" ");
            }
        } {
            if( i <= X &&i + (K-1) >= X ){
                sb.append(i).append(" ");
            }else if(i >= X && i -(K-1) <= X){
                sb.append(i).append(" ");
            }
        } if( i <= X &&i + (K-1) >= X ){
                sb.append(i).append(" ");
            }else if(i >= X && i -(K-1) <= X){
                sb.append(i).append(" ");
            } i <= X &&i + (K-1) >= X i <= X i X i + (K-1) >= X i + (K-1) i (K-1) K 1 X {
                sb.append(i).append(" ");
            } sb.append(i).append(" ") sb.append(i).append sb.append(i) sb.append sb i " " if(i >= X && i -(K-1) <= X){
                sb.append(i).append(" ");
            } i >= X && i -(K-1) <= X i >= X i X i -(K-1) <= X i -(K-1) i (K-1) K 1 X {
                sb.append(i).append(" ");
            } sb.append(i).append(" ") sb.append(i).append sb.append(i) sb.append sb i " " System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb return; String[] args args public class Main {
    public static void debug(String str) {
        boolean debug = false;
        if (debug != false) {
            return;
        }
        System.out.println(str);
    }

    public static void main(String[] args) {

        long K;
        long X;

        try (Scanner sc = new Scanner(System.in)) {
            K = sc.nextLong();
            X = sc.nextLong();
        }
        StringBuilder sb = new StringBuilder();

        for(int i = -1000000;i < 1000001;i++){
            if( i <= X &&i + (K-1) >= X ){
                sb.append(i).append(" ");
            }else if(i >= X && i -(K-1) <= X){
                sb.append(i).append(" ");
            }
        }
        System.out.println(sb.toString());
        return;

    }
} public class Main {
    public static void debug(String str) {
        boolean debug = false;
        if (debug != false) {
            return;
        }
        System.out.println(str);
    }

    public static void main(String[] args) {

        long K;
        long X;

        try (Scanner sc = new Scanner(System.in)) {
            K = sc.nextLong();
            X = sc.nextLong();
        }
        StringBuilder sb = new StringBuilder();

        for(int i = -1000000;i < 1000001;i++){
            if( i <= X &&i + (K-1) >= X ){
                sb.append(i).append(" ");
            }else if(i >= X && i -(K-1) <= X){
                sb.append(i).append(" ");
            }
        }
        System.out.println(sb.toString());
        return;

    }
} Main
import java.util.Scanner;

public class Main {
    public static void debug(String str) {
        boolean debug = false;
        if (debug != false) {
            return;
        }
        System.out.println(str);
    }

    public static void main(String[] args) {

        long K;
        long X;

        try (Scanner sc = new Scanner(System.in)) {
            K = sc.nextLong();
            X = sc.nextLong();
        }
        StringBuilder sb = new StringBuilder();

        for(int i = -1000000;i < 1000001;i++){
            if( i <= X &&i + (K-1) >= X ){
                sb.append(i).append(" ");
            }else if(i >= X && i -(K-1) <= X){
                sb.append(i).append(" ");
            }
        }
        System.out.println(sb.toString());
        return;

    }
}
