import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		String KX = scanner.nextLine();

		int K = Integer.parseInt(KX.split(" ")[0]);

		int X = Integer.parseInt(KX.split(" ")[1]);

		//ArrayList<Integer> baseNumArray = new ArrayList<Integer>();

		String output = "";

		for(int i = ( X - K) + 1;i < (X + K);i++) {
			output=output + i + " ";
		}

		String output2 =  output.substring(0,output.length()-1);

		System.out.println(output2);

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		String KX = scanner.nextLine();

		int K = Integer.parseInt(KX.split(" ")[0]);

		int X = Integer.parseInt(KX.split(" ")[1]);

		//ArrayList<Integer> baseNumArray = new ArrayList<Integer>();

		String output = "";

		for(int i = ( X - K) + 1;i < (X + K);i++) {
			output=output + i + " ";
		}

		String output2 =  output.substring(0,output.length()-1);

		System.out.println(output2);

	}

} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		String KX = scanner.nextLine();

		int K = Integer.parseInt(KX.split(" ")[0]);

		int X = Integer.parseInt(KX.split(" ")[1]);

		//ArrayList<Integer> baseNumArray = new ArrayList<Integer>();

		String output = "";

		for(int i = ( X - K) + 1;i < (X + K);i++) {
			output=output + i + " ";
		}

		String output2 =  output.substring(0,output.length()-1);

		System.out.println(output2);

	} main {
		Scanner scanner = new Scanner(System.in);

		String KX = scanner.nextLine();

		int K = Integer.parseInt(KX.split(" ")[0]);

		int X = Integer.parseInt(KX.split(" ")[1]);

		//ArrayList<Integer> baseNumArray = new ArrayList<Integer>();

		String output = "";

		for(int i = ( X - K) + 1;i < (X + K);i++) {
			output=output + i + " ";
		}

		String output2 =  output.substring(0,output.length()-1);

		System.out.println(output2);

	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String KX = scanner.nextLine(); KX scanner.nextLine() scanner.nextLine scanner int K = Integer.parseInt(KX.split(" ")[0]); K Integer.parseInt(KX.split(" ")[0]) Integer.parseInt Integer KX.split(" ")[0] KX.split(" ") KX.split KX " " 0 int X = Integer.parseInt(KX.split(" ")[1]); X Integer.parseInt(KX.split(" ")[1]) Integer.parseInt Integer KX.split(" ")[1] KX.split(" ") KX.split KX " " 1 String output = ""; output "" for(int i = ( X - K) + 1;i < (X + K);i++) {
			output=output + i + " ";
		} int i = ( X - K) + 1; int i = ( X - K) + 1; i ( X - K) + 1 ( X - K) X K 1 i < (X + K) i (X + K) X K i++ i++ i {
			output=output + i + " ";
		} {
			output=output + i + " ";
		} output=output + i + " " output output + i + " " output + i + " " output i " " String output2 =  output.substring(0,output.length()-1); output2 output.substring(0,output.length()-1) output.substring output 0 output.length()-1 output.length() output.length output 1 System.out.println(output2) System.out.println System.out System System.out output2 String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		String KX = scanner.nextLine();

		int K = Integer.parseInt(KX.split(" ")[0]);

		int X = Integer.parseInt(KX.split(" ")[1]);

		//ArrayList<Integer> baseNumArray = new ArrayList<Integer>();

		String output = "";

		for(int i = ( X - K) + 1;i < (X + K);i++) {
			output=output + i + " ";
		}

		String output2 =  output.substring(0,output.length()-1);

		System.out.println(output2);

	}

} public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		String KX = scanner.nextLine();

		int K = Integer.parseInt(KX.split(" ")[0]);

		int X = Integer.parseInt(KX.split(" ")[1]);

		//ArrayList<Integer> baseNumArray = new ArrayList<Integer>();

		String output = "";

		for(int i = ( X - K) + 1;i < (X + K);i++) {
			output=output + i + " ";
		}

		String output2 =  output.substring(0,output.length()-1);

		System.out.println(output2);

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		String KX = scanner.nextLine();

		int K = Integer.parseInt(KX.split(" ")[0]);

		int X = Integer.parseInt(KX.split(" ")[1]);

		//ArrayList<Integer> baseNumArray = new ArrayList<Integer>();

		String output = "";

		for(int i = ( X - K) + 1;i < (X + K);i++) {
			output=output + i + " ";
		}

		String output2 =  output.substring(0,output.length()-1);

		System.out.println(output2);

	}

}