import java.util.Arrays;
import java.util.LinkedList;
import java.util.Scanner;
import java.util.stream.IntStream;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String num = sc.nextLine();
        check(num);
    }

    public static void check(String num) {

        String[] strs = num.split(" ");
        int start = Integer.parseInt(strs[1]) - Integer.parseInt(strs[0])+1;
        int end = Integer.parseInt(strs[1]) + Integer.parseInt(strs[0])-1;
        for(int i=start; i<=end; i++) {
            System.out.print(i);
            if(i < end) {
                System.out.print(" ");
            }
        }
    }
} import java.util.Arrays; Arrays java.util import java.util.LinkedList; LinkedList java.util import java.util.Scanner; Scanner java.util import java.util.stream.IntStream; IntStream java.util.stream public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String num = sc.nextLine();
        check(num);
    }

    public static void check(String num) {

        String[] strs = num.split(" ");
        int start = Integer.parseInt(strs[1]) - Integer.parseInt(strs[0])+1;
        int end = Integer.parseInt(strs[1]) + Integer.parseInt(strs[0])-1;
        for(int i=start; i<=end; i++) {
            System.out.print(i);
            if(i < end) {
                System.out.print(" ");
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String num = sc.nextLine();
        check(num);
    } main {
        Scanner sc = new Scanner(System.in);
        String num = sc.nextLine();
        check(num);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String num = sc.nextLine(); num sc.nextLine() sc.nextLine sc check(num) check num String[] args args public static void check(String num) {

        String[] strs = num.split(" ");
        int start = Integer.parseInt(strs[1]) - Integer.parseInt(strs[0])+1;
        int end = Integer.parseInt(strs[1]) + Integer.parseInt(strs[0])-1;
        for(int i=start; i<=end; i++) {
            System.out.print(i);
            if(i < end) {
                System.out.print(" ");
            }
        }
    } check {

        String[] strs = num.split(" ");
        int start = Integer.parseInt(strs[1]) - Integer.parseInt(strs[0])+1;
        int end = Integer.parseInt(strs[1]) + Integer.parseInt(strs[0])-1;
        for(int i=start; i<=end; i++) {
            System.out.print(i);
            if(i < end) {
                System.out.print(" ");
            }
        }
    } String[] strs = num.split(" "); strs num.split(" ") num.split num " " int start = Integer.parseInt(strs[1]) - Integer.parseInt(strs[0])+1; start Integer.parseInt(strs[1]) - Integer.parseInt(strs[0])+1 Integer.parseInt(strs[1]) - Integer.parseInt(strs[0]) Integer.parseInt(strs[1]) Integer.parseInt Integer strs[1] strs 1 Integer.parseInt(strs[0]) Integer.parseInt Integer strs[0] strs 0 1 int end = Integer.parseInt(strs[1]) + Integer.parseInt(strs[0])-1; end Integer.parseInt(strs[1]) + Integer.parseInt(strs[0])-1 Integer.parseInt(strs[1]) + Integer.parseInt(strs[0]) Integer.parseInt(strs[1]) Integer.parseInt Integer strs[1] strs 1 Integer.parseInt(strs[0]) Integer.parseInt Integer strs[0] strs 0 1 for(int i=start; i<=end; i++) {
            System.out.print(i);
            if(i < end) {
                System.out.print(" ");
            }
        } int i=start; int i=start; i start i<=end i end i++ i++ i {
            System.out.print(i);
            if(i < end) {
                System.out.print(" ");
            }
        } {
            System.out.print(i);
            if(i < end) {
                System.out.print(" ");
            }
        } System.out.print(i) System.out.print System.out System System.out i if(i < end) {
                System.out.print(" ");
            } i < end i end {
                System.out.print(" ");
            } System.out.print(" ") System.out.print System.out System System.out " " String num num public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String num = sc.nextLine();
        check(num);
    }

    public static void check(String num) {

        String[] strs = num.split(" ");
        int start = Integer.parseInt(strs[1]) - Integer.parseInt(strs[0])+1;
        int end = Integer.parseInt(strs[1]) + Integer.parseInt(strs[0])-1;
        for(int i=start; i<=end; i++) {
            System.out.print(i);
            if(i < end) {
                System.out.print(" ");
            }
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String num = sc.nextLine();
        check(num);
    }

    public static void check(String num) {

        String[] strs = num.split(" ");
        int start = Integer.parseInt(strs[1]) - Integer.parseInt(strs[0])+1;
        int end = Integer.parseInt(strs[1]) + Integer.parseInt(strs[0])-1;
        for(int i=start; i<=end; i++) {
            System.out.print(i);
            if(i < end) {
                System.out.print(" ");
            }
        }
    }
} Main
import java.util.Arrays;
import java.util.LinkedList;
import java.util.Scanner;
import java.util.stream.IntStream;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String num = sc.nextLine();
        check(num);
    }

    public static void check(String num) {

        String[] strs = num.split(" ");
        int start = Integer.parseInt(strs[1]) - Integer.parseInt(strs[0])+1;
        int end = Integer.parseInt(strs[1]) + Integer.parseInt(strs[0])-1;
        for(int i=start; i<=end; i++) {
            System.out.print(i);
            if(i < end) {
                System.out.print(" ");
            }
        }
    }
}