import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int[] c = new int[a*2-1];
        int d = b - a + 1;
        for(int i = 0;i < c.length; i++){
            c[i] = d;
            d++;
        } 
        for(int i = 0; i < c.length;i++){
            if(i != 0){
                System.out.print(" ");
            }
            System.out.print(c[i]);
        }
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int[] c = new int[a*2-1];
        int d = b - a + 1;
        for(int i = 0;i < c.length; i++){
            c[i] = d;
            d++;
        } 
        for(int i = 0; i < c.length;i++){
            if(i != 0){
                System.out.print(" ");
            }
            System.out.print(c[i]);
        }
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int[] c = new int[a*2-1];
        int d = b - a + 1;
        for(int i = 0;i < c.length; i++){
            c[i] = d;
            d++;
        } 
        for(int i = 0; i < c.length;i++){
            if(i != 0){
                System.out.print(" ");
            }
            System.out.print(c[i]);
        }
    } main {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int[] c = new int[a*2-1];
        int d = b - a + 1;
        for(int i = 0;i < c.length; i++){
            c[i] = d;
            d++;
        } 
        for(int i = 0; i < c.length;i++){
            if(i != 0){
                System.out.print(" ");
            }
            System.out.print(c[i]);
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int[] c = new int[a*2-1]; c new int[a*2-1] a*2-1 a*2 a 2 1 int d = b - a + 1; d b - a + 1 b - a b a 1 for(int i = 0;i < c.length; i++){
            c[i] = d;
            d++;
        } int i = 0; int i = 0; i 0 i < c.length i c.length c c.length i++ i++ i {
            c[i] = d;
            d++;
        } {
            c[i] = d;
            d++;
        } c[i] = d c[i] c i d d++ d for(int i = 0; i < c.length;i++){
            if(i != 0){
                System.out.print(" ");
            }
            System.out.print(c[i]);
        } int i = 0; int i = 0; i 0 i < c.length i c.length c c.length i++ i++ i {
            if(i != 0){
                System.out.print(" ");
            }
            System.out.print(c[i]);
        } {
            if(i != 0){
                System.out.print(" ");
            }
            System.out.print(c[i]);
        } if(i != 0){
                System.out.print(" ");
            } i != 0 i 0 {
                System.out.print(" ");
            } System.out.print(" ") System.out.print System.out System System.out " " System.out.print(c[i]) System.out.print System.out System System.out c[i] c i String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int[] c = new int[a*2-1];
        int d = b - a + 1;
        for(int i = 0;i < c.length; i++){
            c[i] = d;
            d++;
        } 
        for(int i = 0; i < c.length;i++){
            if(i != 0){
                System.out.print(" ");
            }
            System.out.print(c[i]);
        }
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int[] c = new int[a*2-1];
        int d = b - a + 1;
        for(int i = 0;i < c.length; i++){
            c[i] = d;
            d++;
        } 
        for(int i = 0; i < c.length;i++){
            if(i != 0){
                System.out.print(" ");
            }
            System.out.print(c[i]);
        }
    }
} Main
import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int[] c = new int[a*2-1];
        int d = b - a + 1;
        for(int i = 0;i < c.length; i++){
            c[i] = d;
            d++;
        } 
        for(int i = 0; i < c.length;i++){
            if(i != 0){
                System.out.print(" ");
            }
            System.out.print(c[i]);
        }
    }
}