

import java.util.ArrayList;
import java.util.InputMismatchException;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		try {
			Scanner scanner = new Scanner(System.in);
			int k = scanner.nextInt();
			int x = scanner.nextInt();

			Main testB = new Main();
			ArrayList<Integer> answer = testB.oneClue(k, x);
			for (int i = 0; i < answer.size(); i++) {
				System.out.print(answer.get(i)+ " ");
			}
			scanner.close();

		} catch (InputMismatchException e) {
			// TODO: handle exception
			System.out.println("整数を入力してください");
		}
	}


	public ArrayList<Integer> oneClue(int k, int x) {
		ArrayList<Integer> answer = new ArrayList<>();
		for(int i = x-k+1; i <= x+k-1; i++) {
			if(i >= -1000000 && i <= 1000000) {
				answer.add(i);
			}
		}

		return answer;
	}

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

	public static void main(String[] args) {
		try {
			Scanner scanner = new Scanner(System.in);
			int k = scanner.nextInt();
			int x = scanner.nextInt();

			Main testB = new Main();
			ArrayList<Integer> answer = testB.oneClue(k, x);
			for (int i = 0; i < answer.size(); i++) {
				System.out.print(answer.get(i)+ " ");
			}
			scanner.close();

		} catch (InputMismatchException e) {
			// TODO: handle exception
			System.out.println("整数を入力してください");
		}
	}


	public ArrayList<Integer> oneClue(int k, int x) {
		ArrayList<Integer> answer = new ArrayList<>();
		for(int i = x-k+1; i <= x+k-1; i++) {
			if(i >= -1000000 && i <= 1000000) {
				answer.add(i);
			}
		}

		return answer;
	}

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

			Main testB = new Main();
			ArrayList<Integer> answer = testB.oneClue(k, x);
			for (int i = 0; i < answer.size(); i++) {
				System.out.print(answer.get(i)+ " ");
			}
			scanner.close();

		} catch (InputMismatchException e) {
			// TODO: handle exception
			System.out.println("整数を入力してください");
		}
	} main {
		try {
			Scanner scanner = new Scanner(System.in);
			int k = scanner.nextInt();
			int x = scanner.nextInt();

			Main testB = new Main();
			ArrayList<Integer> answer = testB.oneClue(k, x);
			for (int i = 0; i < answer.size(); i++) {
				System.out.print(answer.get(i)+ " ");
			}
			scanner.close();

		} catch (InputMismatchException e) {
			// TODO: handle exception
			System.out.println("整数を入力してください");
		}
	} try {
			Scanner scanner = new Scanner(System.in);
			int k = scanner.nextInt();
			int x = scanner.nextInt();

			Main testB = new Main();
			ArrayList<Integer> answer = testB.oneClue(k, x);
			for (int i = 0; i < answer.size(); i++) {
				System.out.print(answer.get(i)+ " ");
			}
			scanner.close();

		} catch (InputMismatchException e) {
			// TODO: handle exception
			System.out.println("整数を入力してください");
		} catch (InputMismatchException e) {
			// TODO: handle exception
			System.out.println("整数を入力してください");
		} InputMismatchException e {
			// TODO: handle exception
			System.out.println("整数を入力してください");
		} System.out.println("整数を入力してください") System.out.println System.out System System.out "整数を入力してください" {
			Scanner scanner = new Scanner(System.in);
			int k = scanner.nextInt();
			int x = scanner.nextInt();

			Main testB = new Main();
			ArrayList<Integer> answer = testB.oneClue(k, x);
			for (int i = 0; i < answer.size(); i++) {
				System.out.print(answer.get(i)+ " ");
			}
			scanner.close();

		} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int k = scanner.nextInt(); k scanner.nextInt() scanner.nextInt scanner int x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner Main testB = new Main(); testB new Main() ArrayList<Integer> answer = testB.oneClue(k, x); answer testB.oneClue(k, x) testB.oneClue testB k x for (int i = 0; i < answer.size(); i++) {
				System.out.print(answer.get(i)+ " ");
			} int i = 0; int i = 0; i 0 i < answer.size() i answer.size() answer.size answer i++ i++ i {
				System.out.print(answer.get(i)+ " ");
			} {
				System.out.print(answer.get(i)+ " ");
			} System.out.print(answer.get(i)+ " ") System.out.print System.out System System.out answer.get(i)+ " " answer.get(i) answer.get answer i " " scanner.close() scanner.close scanner String[] args args public ArrayList<Integer> oneClue(int k, int x) {
		ArrayList<Integer> answer = new ArrayList<>();
		for(int i = x-k+1; i <= x+k-1; i++) {
			if(i >= -1000000 && i <= 1000000) {
				answer.add(i);
			}
		}

		return answer;
	} oneClue {
		ArrayList<Integer> answer = new ArrayList<>();
		for(int i = x-k+1; i <= x+k-1; i++) {
			if(i >= -1000000 && i <= 1000000) {
				answer.add(i);
			}
		}

		return answer;
	} ArrayList<Integer> answer = new ArrayList<>(); answer new ArrayList<>() for(int i = x-k+1; i <= x+k-1; i++) {
			if(i >= -1000000 && i <= 1000000) {
				answer.add(i);
			}
		} int i = x-k+1; int i = x-k+1; i x-k+1 x-k x k 1 i <= x+k-1 i x+k-1 x+k x k 1 i++ i++ i {
			if(i >= -1000000 && i <= 1000000) {
				answer.add(i);
			}
		} {
			if(i >= -1000000 && i <= 1000000) {
				answer.add(i);
			}
		} if(i >= -1000000 && i <= 1000000) {
				answer.add(i);
			} i >= -1000000 && i <= 1000000 i >= -1000000 i -1000000 1000000 i <= 1000000 i 1000000 {
				answer.add(i);
			} answer.add(i) answer.add answer i return answer; answer int k k int x x public class Main {

	public static void main(String[] args) {
		try {
			Scanner scanner = new Scanner(System.in);
			int k = scanner.nextInt();
			int x = scanner.nextInt();

			Main testB = new Main();
			ArrayList<Integer> answer = testB.oneClue(k, x);
			for (int i = 0; i < answer.size(); i++) {
				System.out.print(answer.get(i)+ " ");
			}
			scanner.close();

		} catch (InputMismatchException e) {
			// TODO: handle exception
			System.out.println("整数を入力してください");
		}
	}


	public ArrayList<Integer> oneClue(int k, int x) {
		ArrayList<Integer> answer = new ArrayList<>();
		for(int i = x-k+1; i <= x+k-1; i++) {
			if(i >= -1000000 && i <= 1000000) {
				answer.add(i);
			}
		}

		return answer;
	}

} public class Main {

	public static void main(String[] args) {
		try {
			Scanner scanner = new Scanner(System.in);
			int k = scanner.nextInt();
			int x = scanner.nextInt();

			Main testB = new Main();
			ArrayList<Integer> answer = testB.oneClue(k, x);
			for (int i = 0; i < answer.size(); i++) {
				System.out.print(answer.get(i)+ " ");
			}
			scanner.close();

		} catch (InputMismatchException e) {
			// TODO: handle exception
			System.out.println("整数を入力してください");
		}
	}


	public ArrayList<Integer> oneClue(int k, int x) {
		ArrayList<Integer> answer = new ArrayList<>();
		for(int i = x-k+1; i <= x+k-1; i++) {
			if(i >= -1000000 && i <= 1000000) {
				answer.add(i);
			}
		}

		return answer;
	}

} Main


import java.util.ArrayList;
import java.util.InputMismatchException;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		try {
			Scanner scanner = new Scanner(System.in);
			int k = scanner.nextInt();
			int x = scanner.nextInt();

			Main testB = new Main();
			ArrayList<Integer> answer = testB.oneClue(k, x);
			for (int i = 0; i < answer.size(); i++) {
				System.out.print(answer.get(i)+ " ");
			}
			scanner.close();

		} catch (InputMismatchException e) {
			// TODO: handle exception
			System.out.println("整数を入力してください");
		}
	}


	public ArrayList<Integer> oneClue(int k, int x) {
		ArrayList<Integer> answer = new ArrayList<>();
		for(int i = x-k+1; i <= x+k-1; i++) {
			if(i >= -1000000 && i <= 1000000) {
				answer.add(i);
			}
		}

		return answer;
	}

}

