import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            int K = in.nextInt();
            int X = in.nextInt();

            StringBuilder res = new StringBuilder();
            for (int x = X - K + 1; x <= X + K - 1; x++) {
                res.append(x).append(" ");
            }

            System.out.println(res.toString().trim());
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            int K = in.nextInt();
            int X = in.nextInt();

            StringBuilder res = new StringBuilder();
            for (int x = X - K + 1; x <= X + K - 1; x++) {
                res.append(x).append(" ");
            }

            System.out.println(res.toString().trim());
        }
    }
} Main public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            int K = in.nextInt();
            int X = in.nextInt();

            StringBuilder res = new StringBuilder();
            for (int x = X - K + 1; x <= X + K - 1; x++) {
                res.append(x).append(" ");
            }

            System.out.println(res.toString().trim());
        }
    } main {
        try (Scanner in = new Scanner(System.in)) {
            int K = in.nextInt();
            int X = in.nextInt();

            StringBuilder res = new StringBuilder();
            for (int x = X - K + 1; x <= X + K - 1; x++) {
                res.append(x).append(" ");
            }

            System.out.println(res.toString().trim());
        }
    } try (Scanner in = new Scanner(System.in)) {
            int K = in.nextInt();
            int X = in.nextInt();

            StringBuilder res = new StringBuilder();
            for (int x = X - K + 1; x <= X + K - 1; x++) {
                res.append(x).append(" ");
            }

            System.out.println(res.toString().trim());
        } {
            int K = in.nextInt();
            int X = in.nextInt();

            StringBuilder res = new StringBuilder();
            for (int x = X - K + 1; x <= X + K - 1; x++) {
                res.append(x).append(" ");
            }

            System.out.println(res.toString().trim());
        } Scanner in = new Scanner(System.in) Scanner in = new Scanner(System.in) new Scanner(System.in) int K = in.nextInt(); K in.nextInt() in.nextInt in int X = in.nextInt(); X in.nextInt() in.nextInt in StringBuilder res = new StringBuilder(); res new StringBuilder() for (int x = X - K + 1; x <= X + K - 1; x++) {
                res.append(x).append(" ");
            } int x = X - K + 1; int x = X - K + 1; x X - K + 1 X - K X K 1 x <= X + K - 1 x X + K - 1 X + K X K 1 x++ x++ x {
                res.append(x).append(" ");
            } {
                res.append(x).append(" ");
            } res.append(x).append(" ") res.append(x).append res.append(x) res.append res x " " System.out.println(res.toString().trim()) System.out.println System.out System System.out res.toString().trim() res.toString().trim res.toString() res.toString res String[] args args public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            int K = in.nextInt();
            int X = in.nextInt();

            StringBuilder res = new StringBuilder();
            for (int x = X - K + 1; x <= X + K - 1; x++) {
                res.append(x).append(" ");
            }

            System.out.println(res.toString().trim());
        }
    }
} public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            int K = in.nextInt();
            int X = in.nextInt();

            StringBuilder res = new StringBuilder();
            for (int x = X - K + 1; x <= X + K - 1; x++) {
                res.append(x).append(" ");
            }

            System.out.println(res.toString().trim());
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            int K = in.nextInt();
            int X = in.nextInt();

            StringBuilder res = new StringBuilder();
            for (int x = X - K + 1; x <= X + K - 1; x++) {
                res.append(x).append(" ");
            }

            System.out.println(res.toString().trim());
        }
    }
}
