import java.util.*;
import java.lang.*;
import java.util.stream.*;

public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        Integer k = Integer.parseInt(scanner.next());
        Integer x = Integer.parseInt(scanner.next());

        Integer range =  k - 1;

        if (k == 1) {
            System.out.println(x);
            System.exit(0);
        }

        String sum = new String();
        Integer start = x - range;
        Integer end = x + range;

        while(start <= end) {
            sum += start.toString() + " ";
            start++;
        }

        System.out.println(sum.trim());
    }
} import java.util.*; util.* java import java.lang.*; lang.* java import java.util.stream.*; stream.* java.util public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        Integer k = Integer.parseInt(scanner.next());
        Integer x = Integer.parseInt(scanner.next());

        Integer range =  k - 1;

        if (k == 1) {
            System.out.println(x);
            System.exit(0);
        }

        String sum = new String();
        Integer start = x - range;
        Integer end = x + range;

        while(start <= end) {
            sum += start.toString() + " ";
            start++;
        }

        System.out.println(sum.trim());
    }
} Main public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        Integer k = Integer.parseInt(scanner.next());
        Integer x = Integer.parseInt(scanner.next());

        Integer range =  k - 1;

        if (k == 1) {
            System.out.println(x);
            System.exit(0);
        }

        String sum = new String();
        Integer start = x - range;
        Integer end = x + range;

        while(start <= end) {
            sum += start.toString() + " ";
            start++;
        }

        System.out.println(sum.trim());
    } main {
        //コード
        Scanner scanner = new Scanner(System.in);
        Integer k = Integer.parseInt(scanner.next());
        Integer x = Integer.parseInt(scanner.next());

        Integer range =  k - 1;

        if (k == 1) {
            System.out.println(x);
            System.exit(0);
        }

        String sum = new String();
        Integer start = x - range;
        Integer end = x + range;

        while(start <= end) {
            sum += start.toString() + " ";
            start++;
        }

        System.out.println(sum.trim());
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) Integer k = Integer.parseInt(scanner.next()); k Integer.parseInt(scanner.next()) Integer.parseInt Integer scanner.next() scanner.next scanner Integer x = Integer.parseInt(scanner.next()); x Integer.parseInt(scanner.next()) Integer.parseInt Integer scanner.next() scanner.next scanner Integer range =  k - 1; range k - 1 k 1 if (k == 1) {
            System.out.println(x);
            System.exit(0);
        } k == 1 k 1 {
            System.out.println(x);
            System.exit(0);
        } System.out.println(x) System.out.println System.out System System.out x System.exit(0) System.exit System 0 String sum = new String(); sum new String() Integer start = x - range; start x - range x range Integer end = x + range; end x + range x range while(start <= end) {
            sum += start.toString() + " ";
            start++;
        } start <= end start end {
            sum += start.toString() + " ";
            start++;
        } sum += start.toString() + " " sum start.toString() + " " start.toString() start.toString start " " start++ start System.out.println(sum.trim()) System.out.println System.out System System.out sum.trim() sum.trim sum String[] args args public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        Integer k = Integer.parseInt(scanner.next());
        Integer x = Integer.parseInt(scanner.next());

        Integer range =  k - 1;

        if (k == 1) {
            System.out.println(x);
            System.exit(0);
        }

        String sum = new String();
        Integer start = x - range;
        Integer end = x + range;

        while(start <= end) {
            sum += start.toString() + " ";
            start++;
        }

        System.out.println(sum.trim());
    }
} public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        Integer k = Integer.parseInt(scanner.next());
        Integer x = Integer.parseInt(scanner.next());

        Integer range =  k - 1;

        if (k == 1) {
            System.out.println(x);
            System.exit(0);
        }

        String sum = new String();
        Integer start = x - range;
        Integer end = x + range;

        while(start <= end) {
            sum += start.toString() + " ";
            start++;
        }

        System.out.println(sum.trim());
    }
} Main
import java.util.*;
import java.lang.*;
import java.util.stream.*;

public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        Integer k = Integer.parseInt(scanner.next());
        Integer x = Integer.parseInt(scanner.next());

        Integer range =  k - 1;

        if (k == 1) {
            System.out.println(x);
            System.exit(0);
        }

        String sum = new String();
        Integer start = x - range;
        Integer end = x + range;

        while(start <= end) {
            sum += start.toString() + " ";
            start++;
        }

        System.out.println(sum.trim());
    }
}