import java.util.ArrayList;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] params = scanner.nextLine().split(" ");
        scanner.close();

        int k = Integer.parseInt(params[0]);
        int x = Integer.parseInt(params[1]);

        int min = x - k + 1;
        int max = x + k - 1;

        ArrayList<String> list = new ArrayList<>();
        for (int i = min; i <= max; i++) {
            if (i >= -1000000 && i <= 1000000) {
                list.add(String.valueOf(i));
            }
        }
        
        System.out.println(String.join(" ", list.toArray(new String[list.size()])));
    }
} import java.util.ArrayList; ArrayList java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] params = scanner.nextLine().split(" ");
        scanner.close();

        int k = Integer.parseInt(params[0]);
        int x = Integer.parseInt(params[1]);

        int min = x - k + 1;
        int max = x + k - 1;

        ArrayList<String> list = new ArrayList<>();
        for (int i = min; i <= max; i++) {
            if (i >= -1000000 && i <= 1000000) {
                list.add(String.valueOf(i));
            }
        }
        
        System.out.println(String.join(" ", list.toArray(new String[list.size()])));
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] params = scanner.nextLine().split(" ");
        scanner.close();

        int k = Integer.parseInt(params[0]);
        int x = Integer.parseInt(params[1]);

        int min = x - k + 1;
        int max = x + k - 1;

        ArrayList<String> list = new ArrayList<>();
        for (int i = min; i <= max; i++) {
            if (i >= -1000000 && i <= 1000000) {
                list.add(String.valueOf(i));
            }
        }
        
        System.out.println(String.join(" ", list.toArray(new String[list.size()])));
    } main {
        Scanner scanner = new Scanner(System.in);
        String[] params = scanner.nextLine().split(" ");
        scanner.close();

        int k = Integer.parseInt(params[0]);
        int x = Integer.parseInt(params[1]);

        int min = x - k + 1;
        int max = x + k - 1;

        ArrayList<String> list = new ArrayList<>();
        for (int i = min; i <= max; i++) {
            if (i >= -1000000 && i <= 1000000) {
                list.add(String.valueOf(i));
            }
        }
        
        System.out.println(String.join(" ", list.toArray(new String[list.size()])));
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String[] params = scanner.nextLine().split(" "); params scanner.nextLine().split(" ") scanner.nextLine().split scanner.nextLine() scanner.nextLine scanner " " scanner.close() scanner.close scanner int k = Integer.parseInt(params[0]); k Integer.parseInt(params[0]) Integer.parseInt Integer params[0] params 0 int x = Integer.parseInt(params[1]); x Integer.parseInt(params[1]) Integer.parseInt Integer params[1] params 1 int min = x - k + 1; min x - k + 1 x - k x k 1 int max = x + k - 1; max x + k - 1 x + k x k 1 ArrayList<String> list = new ArrayList<>(); list new ArrayList<>() for (int i = min; i <= max; i++) {
            if (i >= -1000000 && i <= 1000000) {
                list.add(String.valueOf(i));
            }
        } int i = min; int i = min; i min i <= max i max i++ i++ i {
            if (i >= -1000000 && i <= 1000000) {
                list.add(String.valueOf(i));
            }
        } {
            if (i >= -1000000 && i <= 1000000) {
                list.add(String.valueOf(i));
            }
        } if (i >= -1000000 && i <= 1000000) {
                list.add(String.valueOf(i));
            } i >= -1000000 && i <= 1000000 i >= -1000000 i -1000000 1000000 i <= 1000000 i 1000000 {
                list.add(String.valueOf(i));
            } list.add(String.valueOf(i)) list.add list String.valueOf(i) String.valueOf String i System.out.println(String.join(" ", list.toArray(new String[list.size()]))) System.out.println System.out System System.out String.join(" ", list.toArray(new String[list.size()])) String.join String " " list.toArray(new String[list.size()]) list.toArray list new String[list.size()] list.size() list.size list String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] params = scanner.nextLine().split(" ");
        scanner.close();

        int k = Integer.parseInt(params[0]);
        int x = Integer.parseInt(params[1]);

        int min = x - k + 1;
        int max = x + k - 1;

        ArrayList<String> list = new ArrayList<>();
        for (int i = min; i <= max; i++) {
            if (i >= -1000000 && i <= 1000000) {
                list.add(String.valueOf(i));
            }
        }
        
        System.out.println(String.join(" ", list.toArray(new String[list.size()])));
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] params = scanner.nextLine().split(" ");
        scanner.close();

        int k = Integer.parseInt(params[0]);
        int x = Integer.parseInt(params[1]);

        int min = x - k + 1;
        int max = x + k - 1;

        ArrayList<String> list = new ArrayList<>();
        for (int i = min; i <= max; i++) {
            if (i >= -1000000 && i <= 1000000) {
                list.add(String.valueOf(i));
            }
        }
        
        System.out.println(String.join(" ", list.toArray(new String[list.size()])));
    }
} Main
import java.util.ArrayList;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] params = scanner.nextLine().split(" ");
        scanner.close();

        int k = Integer.parseInt(params[0]);
        int x = Integer.parseInt(params[1]);

        int min = x - k + 1;
        int max = x + k - 1;

        ArrayList<String> list = new ArrayList<>();
        for (int i = min; i <= max; i++) {
            if (i >= -1000000 && i <= 1000000) {
                list.add(String.valueOf(i));
            }
        }
        
        System.out.println(String.join(" ", list.toArray(new String[list.size()])));
    }
}