import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		String in[] = new String[2];
		int k = 0, x = 0;
		try {
			line = br.readLine();
			in = line.split(" ");
			k = Integer.parseInt(in[0]);
			x = Integer.parseInt(in[1]);
		} catch (IOException e) {
			e.getStackTrace();
		}
		
		int s = x - k + 1;
		if (s < -1000000) s = -1000000;
		
		int f = x + k - 1;
		if (f > 1000000) f = 1000000;
		
		for (int i = s; i < f; i++) {
			System.out.print(i + " ");
		}
		
		System.out.println(f);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		String in[] = new String[2];
		int k = 0, x = 0;
		try {
			line = br.readLine();
			in = line.split(" ");
			k = Integer.parseInt(in[0]);
			x = Integer.parseInt(in[1]);
		} catch (IOException e) {
			e.getStackTrace();
		}
		
		int s = x - k + 1;
		if (s < -1000000) s = -1000000;
		
		int f = x + k - 1;
		if (f > 1000000) f = 1000000;
		
		for (int i = s; i < f; i++) {
			System.out.print(i + " ");
		}
		
		System.out.println(f);
	}
} Main public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		String in[] = new String[2];
		int k = 0, x = 0;
		try {
			line = br.readLine();
			in = line.split(" ");
			k = Integer.parseInt(in[0]);
			x = Integer.parseInt(in[1]);
		} catch (IOException e) {
			e.getStackTrace();
		}
		
		int s = x - k + 1;
		if (s < -1000000) s = -1000000;
		
		int f = x + k - 1;
		if (f > 1000000) f = 1000000;
		
		for (int i = s; i < f; i++) {
			System.out.print(i + " ");
		}
		
		System.out.println(f);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		String in[] = new String[2];
		int k = 0, x = 0;
		try {
			line = br.readLine();
			in = line.split(" ");
			k = Integer.parseInt(in[0]);
			x = Integer.parseInt(in[1]);
		} catch (IOException e) {
			e.getStackTrace();
		}
		
		int s = x - k + 1;
		if (s < -1000000) s = -1000000;
		
		int f = x + k - 1;
		if (f > 1000000) f = 1000000;
		
		for (int i = s; i < f; i++) {
			System.out.print(i + " ");
		}
		
		System.out.println(f);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line; line String in[] = new String[2]; in new String[2] 2 int k = 0 k 0 x = 0; x 0 try {
			line = br.readLine();
			in = line.split(" ");
			k = Integer.parseInt(in[0]);
			x = Integer.parseInt(in[1]);
		} catch (IOException e) {
			e.getStackTrace();
		} catch (IOException e) {
			e.getStackTrace();
		} IOException e {
			e.getStackTrace();
		} e.getStackTrace() e.getStackTrace e {
			line = br.readLine();
			in = line.split(" ");
			k = Integer.parseInt(in[0]);
			x = Integer.parseInt(in[1]);
		} line = br.readLine() line br.readLine() br.readLine br in = line.split(" ") in line.split(" ") line.split line " " k = Integer.parseInt(in[0]) k Integer.parseInt(in[0]) Integer.parseInt Integer in[0] in 0 x = Integer.parseInt(in[1]) x Integer.parseInt(in[1]) Integer.parseInt Integer in[1] in 1 int s = x - k + 1; s x - k + 1 x - k x k 1 if (s < -1000000) s = -1000000; s < -1000000 s -1000000 1000000 s = -1000000 s -1000000 1000000 int f = x + k - 1; f x + k - 1 x + k x k 1 if (f > 1000000) f = 1000000; f > 1000000 f 1000000 f = 1000000 f 1000000 for (int i = s; i < f; i++) {
			System.out.print(i + " ");
		} int i = s; int i = s; i s i < f i f i++ i++ i {
			System.out.print(i + " ");
		} {
			System.out.print(i + " ");
		} System.out.print(i + " ") System.out.print System.out System System.out i + " " i " " System.out.println(f) System.out.println System.out System System.out f String[] args args public class Main {
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		String in[] = new String[2];
		int k = 0, x = 0;
		try {
			line = br.readLine();
			in = line.split(" ");
			k = Integer.parseInt(in[0]);
			x = Integer.parseInt(in[1]);
		} catch (IOException e) {
			e.getStackTrace();
		}
		
		int s = x - k + 1;
		if (s < -1000000) s = -1000000;
		
		int f = x + k - 1;
		if (f > 1000000) f = 1000000;
		
		for (int i = s; i < f; i++) {
			System.out.print(i + " ");
		}
		
		System.out.println(f);
	}
} public class Main {
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		String in[] = new String[2];
		int k = 0, x = 0;
		try {
			line = br.readLine();
			in = line.split(" ");
			k = Integer.parseInt(in[0]);
			x = Integer.parseInt(in[1]);
		} catch (IOException e) {
			e.getStackTrace();
		}
		
		int s = x - k + 1;
		if (s < -1000000) s = -1000000;
		
		int f = x + k - 1;
		if (f > 1000000) f = 1000000;
		
		for (int i = s; i < f; i++) {
			System.out.print(i + " ");
		}
		
		System.out.println(f);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		String in[] = new String[2];
		int k = 0, x = 0;
		try {
			line = br.readLine();
			in = line.split(" ");
			k = Integer.parseInt(in[0]);
			x = Integer.parseInt(in[1]);
		} catch (IOException e) {
			e.getStackTrace();
		}
		
		int s = x - k + 1;
		if (s < -1000000) s = -1000000;
		
		int f = x + k - 1;
		if (f > 1000000) f = 1000000;
		
		for (int i = s; i < f; i++) {
			System.out.print(i + " ");
		}
		
		System.out.println(f);
	}
}