import java.util.LinkedList;
import java.util.Scanner;

public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		int min = X - K + 1;
		int max = X + K -1;
		LinkedList<Integer> ansList = new LinkedList<Integer>();
		
		for(int i = min; i <= X; i++) {
			ansList.add(i);
		}
		
		for(int i = X + 1; i <= max; i++) {
			ansList.add(i);
		}
		
		for(int i = 0; i < ansList.size() ; i++ ) {
			if ( i > 0 ) {
				System.out.print(" ");
			}
			System.out.print(ansList.get(i));
		}

		sc.close();
	}
} import java.util.LinkedList; LinkedList java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		int min = X - K + 1;
		int max = X + K -1;
		LinkedList<Integer> ansList = new LinkedList<Integer>();
		
		for(int i = min; i <= X; i++) {
			ansList.add(i);
		}
		
		for(int i = X + 1; i <= max; i++) {
			ansList.add(i);
		}
		
		for(int i = 0; i < ansList.size() ; i++ ) {
			if ( i > 0 ) {
				System.out.print(" ");
			}
			System.out.print(ansList.get(i));
		}

		sc.close();
	}
} Main public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		int min = X - K + 1;
		int max = X + K -1;
		LinkedList<Integer> ansList = new LinkedList<Integer>();
		
		for(int i = min; i <= X; i++) {
			ansList.add(i);
		}
		
		for(int i = X + 1; i <= max; i++) {
			ansList.add(i);
		}
		
		for(int i = 0; i < ansList.size() ; i++ ) {
			if ( i > 0 ) {
				System.out.print(" ");
			}
			System.out.print(ansList.get(i));
		}

		sc.close();
	} main {

		Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		int min = X - K + 1;
		int max = X + K -1;
		LinkedList<Integer> ansList = new LinkedList<Integer>();
		
		for(int i = min; i <= X; i++) {
			ansList.add(i);
		}
		
		for(int i = X + 1; i <= max; i++) {
			ansList.add(i);
		}
		
		for(int i = 0; i < ansList.size() ; i++ ) {
			if ( i > 0 ) {
				System.out.print(" ");
			}
			System.out.print(ansList.get(i));
		}

		sc.close();
	} 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 min = X - K + 1; min X - K + 1 X - K X K 1 int max = X + K -1; max X + K -1 X + K X K 1 LinkedList<Integer> ansList = new LinkedList<Integer>(); ansList new LinkedList<Integer>() for(int i = min; i <= X; i++) {
			ansList.add(i);
		} int i = min; int i = min; i min i <= X i X i++ i++ i {
			ansList.add(i);
		} {
			ansList.add(i);
		} ansList.add(i) ansList.add ansList i for(int i = X + 1; i <= max; i++) {
			ansList.add(i);
		} int i = X + 1; int i = X + 1; i X + 1 X 1 i <= max i max i++ i++ i {
			ansList.add(i);
		} {
			ansList.add(i);
		} ansList.add(i) ansList.add ansList i for(int i = 0; i < ansList.size() ; i++ ) {
			if ( i > 0 ) {
				System.out.print(" ");
			}
			System.out.print(ansList.get(i));
		} int i = 0; int i = 0; i 0 i < ansList.size() i ansList.size() ansList.size ansList i++ i++ i {
			if ( i > 0 ) {
				System.out.print(" ");
			}
			System.out.print(ansList.get(i));
		} {
			if ( i > 0 ) {
				System.out.print(" ");
			}
			System.out.print(ansList.get(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(ansList.get(i)) System.out.print System.out System System.out ansList.get(i) ansList.get ansList i sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		int min = X - K + 1;
		int max = X + K -1;
		LinkedList<Integer> ansList = new LinkedList<Integer>();
		
		for(int i = min; i <= X; i++) {
			ansList.add(i);
		}
		
		for(int i = X + 1; i <= max; i++) {
			ansList.add(i);
		}
		
		for(int i = 0; i < ansList.size() ; i++ ) {
			if ( i > 0 ) {
				System.out.print(" ");
			}
			System.out.print(ansList.get(i));
		}

		sc.close();
	}
} public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		int min = X - K + 1;
		int max = X + K -1;
		LinkedList<Integer> ansList = new LinkedList<Integer>();
		
		for(int i = min; i <= X; i++) {
			ansList.add(i);
		}
		
		for(int i = X + 1; i <= max; i++) {
			ansList.add(i);
		}
		
		for(int i = 0; i < ansList.size() ; i++ ) {
			if ( i > 0 ) {
				System.out.print(" ");
			}
			System.out.print(ansList.get(i));
		}

		sc.close();
	}
} Main
import java.util.LinkedList;
import java.util.Scanner;

public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		int min = X - K + 1;
		int max = X + K -1;
		LinkedList<Integer> ansList = new LinkedList<Integer>();
		
		for(int i = min; i <= X; i++) {
			ansList.add(i);
		}
		
		for(int i = X + 1; i <= max; i++) {
			ansList.add(i);
		}
		
		for(int i = 0; i < ansList.size() ; i++ ) {
			if ( i > 0 ) {
				System.out.print(" ");
			}
			System.out.print(ansList.get(i));
		}

		sc.close();
	}
}
