import java.util.Scanner;

public class Main {
    //-1000000到1000000
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int k=sc.nextInt();
        int x=sc.nextInt();
        int left= (x-k+1<-1000000 ? -1000000:x-k+1);
        int right=(x+k-1>1000000? 1000000:x+k-1);
        for(int i=left;i<=right;i++){
            System.out.println(i);
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    //-1000000到1000000
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int k=sc.nextInt();
        int x=sc.nextInt();
        int left= (x-k+1<-1000000 ? -1000000:x-k+1);
        int right=(x+k-1>1000000? 1000000:x+k-1);
        for(int i=left;i<=right;i++){
            System.out.println(i);
        }
    }
} Main //-1000000到1000000
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int k=sc.nextInt();
        int x=sc.nextInt();
        int left= (x-k+1<-1000000 ? -1000000:x-k+1);
        int right=(x+k-1>1000000? 1000000:x+k-1);
        for(int i=left;i<=right;i++){
            System.out.println(i);
        }
    } main {
        Scanner sc=new Scanner(System.in);
        int k=sc.nextInt();
        int x=sc.nextInt();
        int left= (x-k+1<-1000000 ? -1000000:x-k+1);
        int right=(x+k-1>1000000? 1000000:x+k-1);
        for(int i=left;i<=right;i++){
            System.out.println(i);
        }
    } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int k=sc.nextInt(); k sc.nextInt() sc.nextInt sc int x=sc.nextInt(); x sc.nextInt() sc.nextInt sc int left= (x-k+1<-1000000 ? -1000000:x-k+1); left (x-k+1<-1000000 ? -1000000:x-k+1) x-k+1<-1000000 x-k+1 x-k x k 1 -1000000 1000000 -1000000 1000000 x-k+1 x-k x k 1 int right=(x+k-1>1000000? 1000000:x+k-1); right (x+k-1>1000000? 1000000:x+k-1) x+k-1>1000000 x+k-1 x+k x k 1 1000000 1000000 x+k-1 x+k x k 1 for(int i=left;i<=right;i++){
            System.out.println(i);
        } int i=left; int i=left; i left i<=right i right 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 {
    //-1000000到1000000
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int k=sc.nextInt();
        int x=sc.nextInt();
        int left= (x-k+1<-1000000 ? -1000000:x-k+1);
        int right=(x+k-1>1000000? 1000000:x+k-1);
        for(int i=left;i<=right;i++){
            System.out.println(i);
        }
    }
} public class Main {
    //-1000000到1000000
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int k=sc.nextInt();
        int x=sc.nextInt();
        int left= (x-k+1<-1000000 ? -1000000:x-k+1);
        int right=(x+k-1>1000000? 1000000:x+k-1);
        for(int i=left;i<=right;i++){
            System.out.println(i);
        }
    }
} Main
import java.util.Scanner;

public class Main {
    //-1000000到1000000
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int k=sc.nextInt();
        int x=sc.nextInt();
        int left= (x-k+1<-1000000 ? -1000000:x-k+1);
        int right=(x+k-1>1000000? 1000000:x+k-1);
        for(int i=left;i<=right;i++){
            System.out.println(i);
        }
    }
}