import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        
        Scanner in = new Scanner(System.in);
        int num1 = in.nextInt();
        int num2 = in.nextInt();
        int ans;
        for (int i = 1;i < num1 * 2 ;i++){
            System.out.print(num2 - (num1 - i));
            if (i != num1 * 2 - 1){
                System.out.print(" ");
            }else{
                System.out.println();
            }
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        
        Scanner in = new Scanner(System.in);
        int num1 = in.nextInt();
        int num2 = in.nextInt();
        int ans;
        for (int i = 1;i < num1 * 2 ;i++){
            System.out.print(num2 - (num1 - i));
            if (i != num1 * 2 - 1){
                System.out.print(" ");
            }else{
                System.out.println();
            }
        }
    }
} Main public static void main(String[] args) throws Exception {
        // Your code here!
        
        Scanner in = new Scanner(System.in);
        int num1 = in.nextInt();
        int num2 = in.nextInt();
        int ans;
        for (int i = 1;i < num1 * 2 ;i++){
            System.out.print(num2 - (num1 - i));
            if (i != num1 * 2 - 1){
                System.out.print(" ");
            }else{
                System.out.println();
            }
        }
    } main {
        // Your code here!
        
        Scanner in = new Scanner(System.in);
        int num1 = in.nextInt();
        int num2 = in.nextInt();
        int ans;
        for (int i = 1;i < num1 * 2 ;i++){
            System.out.print(num2 - (num1 - i));
            if (i != num1 * 2 - 1){
                System.out.print(" ");
            }else{
                System.out.println();
            }
        }
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int num1 = in.nextInt(); num1 in.nextInt() in.nextInt in int num2 = in.nextInt(); num2 in.nextInt() in.nextInt in int ans; ans for (int i = 1;i < num1 * 2 ;i++){
            System.out.print(num2 - (num1 - i));
            if (i != num1 * 2 - 1){
                System.out.print(" ");
            }else{
                System.out.println();
            }
        } int i = 1; int i = 1; i 1 i < num1 * 2 i num1 * 2 num1 2 i++ i++ i {
            System.out.print(num2 - (num1 - i));
            if (i != num1 * 2 - 1){
                System.out.print(" ");
            }else{
                System.out.println();
            }
        } {
            System.out.print(num2 - (num1 - i));
            if (i != num1 * 2 - 1){
                System.out.print(" ");
            }else{
                System.out.println();
            }
        } System.out.print(num2 - (num1 - i)) System.out.print System.out System System.out num2 - (num1 - i) num2 (num1 - i) num1 i if (i != num1 * 2 - 1){
                System.out.print(" ");
            }else{
                System.out.println();
            } i != num1 * 2 - 1 i num1 * 2 - 1 num1 * 2 num1 2 1 {
                System.out.print(" ");
            } System.out.print(" ") System.out.print System.out System System.out " " {
                System.out.println();
            } System.out.println() System.out.println System.out System System.out String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        
        Scanner in = new Scanner(System.in);
        int num1 = in.nextInt();
        int num2 = in.nextInt();
        int ans;
        for (int i = 1;i < num1 * 2 ;i++){
            System.out.print(num2 - (num1 - i));
            if (i != num1 * 2 - 1){
                System.out.print(" ");
            }else{
                System.out.println();
            }
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        
        Scanner in = new Scanner(System.in);
        int num1 = in.nextInt();
        int num2 = in.nextInt();
        int ans;
        for (int i = 1;i < num1 * 2 ;i++){
            System.out.print(num2 - (num1 - i));
            if (i != num1 * 2 - 1){
                System.out.print(" ");
            }else{
                System.out.println();
            }
        }
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        
        Scanner in = new Scanner(System.in);
        int num1 = in.nextInt();
        int num2 = in.nextInt();
        int ans;
        for (int i = 1;i < num1 * 2 ;i++){
            System.out.print(num2 - (num1 - i));
            if (i != num1 * 2 - 1){
                System.out.print(" ");
            }else{
                System.out.println();
            }
        }
    }
}
