import java.util.Scanner;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long k = sc.nextInt();
        long x = sc.nextInt();

        long min = x - (k - 1);
        long max = x + (k - 1);
        long judge = -1000000;
        if(min < judge){
        
            for(long i = judge; i< judge + k; i++){
                System.out.println(i);
            }
        }else{
             for(long i = min;i <= x;i++){
                System.out.println(i);
            }           
        }

        if(max > 1000000){
            for(long i = 1000000 -k ;i <= 1000000 ;i++){
                System.out.println(i);
            }
        }else{
            for(long i = x+1;i <= max;i++){
                System.out.println(i);
            }           
        }
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long k = sc.nextInt();
        long x = sc.nextInt();

        long min = x - (k - 1);
        long max = x + (k - 1);
        long judge = -1000000;
        if(min < judge){
        
            for(long i = judge; i< judge + k; i++){
                System.out.println(i);
            }
        }else{
             for(long i = min;i <= x;i++){
                System.out.println(i);
            }           
        }

        if(max > 1000000){
            for(long i = 1000000 -k ;i <= 1000000 ;i++){
                System.out.println(i);
            }
        }else{
            for(long i = x+1;i <= max;i++){
                System.out.println(i);
            }           
        }
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long k = sc.nextInt();
        long x = sc.nextInt();

        long min = x - (k - 1);
        long max = x + (k - 1);
        long judge = -1000000;
        if(min < judge){
        
            for(long i = judge; i< judge + k; i++){
                System.out.println(i);
            }
        }else{
             for(long i = min;i <= x;i++){
                System.out.println(i);
            }           
        }

        if(max > 1000000){
            for(long i = 1000000 -k ;i <= 1000000 ;i++){
                System.out.println(i);
            }
        }else{
            for(long i = x+1;i <= max;i++){
                System.out.println(i);
            }           
        }
    } main {
        Scanner sc = new Scanner(System.in);
        long k = sc.nextInt();
        long x = sc.nextInt();

        long min = x - (k - 1);
        long max = x + (k - 1);
        long judge = -1000000;
        if(min < judge){
        
            for(long i = judge; i< judge + k; i++){
                System.out.println(i);
            }
        }else{
             for(long i = min;i <= x;i++){
                System.out.println(i);
            }           
        }

        if(max > 1000000){
            for(long i = 1000000 -k ;i <= 1000000 ;i++){
                System.out.println(i);
            }
        }else{
            for(long i = x+1;i <= max;i++){
                System.out.println(i);
            }           
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long k = sc.nextInt(); k sc.nextInt() sc.nextInt sc long x = sc.nextInt(); x sc.nextInt() sc.nextInt sc long min = x - (k - 1); min x - (k - 1) x (k - 1) k 1 long max = x + (k - 1); max x + (k - 1) x (k - 1) k 1 long judge = -1000000; judge -1000000 1000000 if(min < judge){
        
            for(long i = judge; i< judge + k; i++){
                System.out.println(i);
            }
        }else{
             for(long i = min;i <= x;i++){
                System.out.println(i);
            }           
        } min < judge min judge {
        
            for(long i = judge; i< judge + k; i++){
                System.out.println(i);
            }
        } for(long i = judge; i< judge + k; i++){
                System.out.println(i);
            } long i = judge; long i = judge; i judge i< judge + k i judge + k judge k i++ i++ i {
                System.out.println(i);
            } {
                System.out.println(i);
            } System.out.println(i) System.out.println System.out System System.out i {
             for(long i = min;i <= x;i++){
                System.out.println(i);
            }           
        } for(long i = min;i <= x;i++){
                System.out.println(i);
            } long i = min; long i = min; i min i <= x i x i++ i++ i {
                System.out.println(i);
            } {
                System.out.println(i);
            } System.out.println(i) System.out.println System.out System System.out i if(max > 1000000){
            for(long i = 1000000 -k ;i <= 1000000 ;i++){
                System.out.println(i);
            }
        }else{
            for(long i = x+1;i <= max;i++){
                System.out.println(i);
            }           
        } max > 1000000 max 1000000 {
            for(long i = 1000000 -k ;i <= 1000000 ;i++){
                System.out.println(i);
            }
        } for(long i = 1000000 -k ;i <= 1000000 ;i++){
                System.out.println(i);
            } long i = 1000000 -k ; long i = 1000000 -k ; i 1000000 -k 1000000 k i <= 1000000 i 1000000 i++ i++ i {
                System.out.println(i);
            } {
                System.out.println(i);
            } System.out.println(i) System.out.println System.out System System.out i {
            for(long i = x+1;i <= max;i++){
                System.out.println(i);
            }           
        } for(long i = x+1;i <= max;i++){
                System.out.println(i);
            } long i = x+1; long i = x+1; i x+1 x 1 i <= max i max i++ i++ i {
                System.out.println(i);
            } {
                System.out.println(i);
            } System.out.println(i) System.out.println System.out System System.out i String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long k = sc.nextInt();
        long x = sc.nextInt();

        long min = x - (k - 1);
        long max = x + (k - 1);
        long judge = -1000000;
        if(min < judge){
        
            for(long i = judge; i< judge + k; i++){
                System.out.println(i);
            }
        }else{
             for(long i = min;i <= x;i++){
                System.out.println(i);
            }           
        }

        if(max > 1000000){
            for(long i = 1000000 -k ;i <= 1000000 ;i++){
                System.out.println(i);
            }
        }else{
            for(long i = x+1;i <= max;i++){
                System.out.println(i);
            }           
        }
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long k = sc.nextInt();
        long x = sc.nextInt();

        long min = x - (k - 1);
        long max = x + (k - 1);
        long judge = -1000000;
        if(min < judge){
        
            for(long i = judge; i< judge + k; i++){
                System.out.println(i);
            }
        }else{
             for(long i = min;i <= x;i++){
                System.out.println(i);
            }           
        }

        if(max > 1000000){
            for(long i = 1000000 -k ;i <= 1000000 ;i++){
                System.out.println(i);
            }
        }else{
            for(long i = x+1;i <= max;i++){
                System.out.println(i);
            }           
        }
    }
} Main
import java.util.Scanner;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long k = sc.nextInt();
        long x = sc.nextInt();

        long min = x - (k - 1);
        long max = x + (k - 1);
        long judge = -1000000;
        if(min < judge){
        
            for(long i = judge; i< judge + k; i++){
                System.out.println(i);
            }
        }else{
             for(long i = min;i <= x;i++){
                System.out.println(i);
            }           
        }

        if(max > 1000000){
            for(long i = 1000000 -k ;i <= 1000000 ;i++){
                System.out.println(i);
            }
        }else{
            for(long i = x+1;i <= max;i++){
                System.out.println(i);
            }           
        }
    }
}