import 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[] kuro=new int[2*A-1];
		String[] kuros=new String[2*A-1];
		String ans="";
		for(int i=0; i<2*A-1; i++) {
			kuro[i]=B-A+1+i;
			if(i==0) {
				ans=""+kuro[i];
			}else {
				ans+=" "+kuro[i];
			}
			
		}
		
		System.out.println(ans);
	  }	          	
} import java.util.*; util.* java public class Main {
public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int A=sc.nextInt();
		int B=sc.nextInt();
		int[] kuro=new int[2*A-1];
		String[] kuros=new String[2*A-1];
		String ans="";
		for(int i=0; i<2*A-1; i++) {
			kuro[i]=B-A+1+i;
			if(i==0) {
				ans=""+kuro[i];
			}else {
				ans+=" "+kuro[i];
			}
			
		}
		
		System.out.println(ans);
	  }	          	
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int A=sc.nextInt();
		int B=sc.nextInt();
		int[] kuro=new int[2*A-1];
		String[] kuros=new String[2*A-1];
		String ans="";
		for(int i=0; i<2*A-1; i++) {
			kuro[i]=B-A+1+i;
			if(i==0) {
				ans=""+kuro[i];
			}else {
				ans+=" "+kuro[i];
			}
			
		}
		
		System.out.println(ans);
	  } main {
		Scanner sc = new Scanner(System.in);
		int A=sc.nextInt();
		int B=sc.nextInt();
		int[] kuro=new int[2*A-1];
		String[] kuros=new String[2*A-1];
		String ans="";
		for(int i=0; i<2*A-1; i++) {
			kuro[i]=B-A+1+i;
			if(i==0) {
				ans=""+kuro[i];
			}else {
				ans+=" "+kuro[i];
			}
			
		}
		
		System.out.println(ans);
	  } 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[] kuro=new int[2*A-1]; kuro new int[2*A-1] 2*A-1 2*A 2 A 1 String[] kuros=new String[2*A-1]; kuros new String[2*A-1] 2*A-1 2*A 2 A 1 String ans=""; ans "" for(int i=0; i<2*A-1; i++) {
			kuro[i]=B-A+1+i;
			if(i==0) {
				ans=""+kuro[i];
			}else {
				ans+=" "+kuro[i];
			}
			
		} int i=0; int i=0; i 0 i<2*A-1 i 2*A-1 2*A 2 A 1 i++ i++ i {
			kuro[i]=B-A+1+i;
			if(i==0) {
				ans=""+kuro[i];
			}else {
				ans+=" "+kuro[i];
			}
			
		} {
			kuro[i]=B-A+1+i;
			if(i==0) {
				ans=""+kuro[i];
			}else {
				ans+=" "+kuro[i];
			}
			
		} kuro[i]=B-A+1+i kuro[i] kuro i B-A+1+i B-A+1+i B-A B A 1 i if(i==0) {
				ans=""+kuro[i];
			}else {
				ans+=" "+kuro[i];
			} i==0 i 0 {
				ans=""+kuro[i];
			} ans=""+kuro[i] ans ""+kuro[i] "" kuro[i] kuro i {
				ans+=" "+kuro[i];
			} ans+=" "+kuro[i] ans " "+kuro[i] " " kuro[i] kuro i System.out.println(ans) System.out.println System.out System System.out ans 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[] kuro=new int[2*A-1];
		String[] kuros=new String[2*A-1];
		String ans="";
		for(int i=0; i<2*A-1; i++) {
			kuro[i]=B-A+1+i;
			if(i==0) {
				ans=""+kuro[i];
			}else {
				ans+=" "+kuro[i];
			}
			
		}
		
		System.out.println(ans);
	  }	          	
} public class Main {
public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int A=sc.nextInt();
		int B=sc.nextInt();
		int[] kuro=new int[2*A-1];
		String[] kuros=new String[2*A-1];
		String ans="";
		for(int i=0; i<2*A-1; i++) {
			kuro[i]=B-A+1+i;
			if(i==0) {
				ans=""+kuro[i];
			}else {
				ans+=" "+kuro[i];
			}
			
		}
		
		System.out.println(ans);
	  }	          	
} Main
import 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[] kuro=new int[2*A-1];
		String[] kuros=new String[2*A-1];
		String ans="";
		for(int i=0; i<2*A-1; i++) {
			kuro[i]=B-A+1+i;
			if(i==0) {
				ans=""+kuro[i];
			}else {
				ans+=" "+kuro[i];
			}
			
		}
		
		System.out.println(ans);
	  }	          	
}