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

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] nums = br.readLine().split(" ");
		int[] numsInt = new int[2];
		numsInt[0] = Integer.parseInt(nums[0]);
		numsInt[1] = Integer.parseInt(nums[1]);
		if(-1000000 > numsInt[1] - numsInt[0]){
			for(int i =-1000000; i<numsInt[1]+numsInt[0]; i++){
				if(i == -1000000){
					System.out.print(i);
				}else{
					System.out.print(" " + i);
				}
			}
		}
		else if(1000000 < numsInt[1] + numsInt[0]){
			for(int i=numsInt[1]-numsInt[0]+1; i<1000001; i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
		else{
			for(int i=numsInt[1]-numsInt[0]+1; i<numsInt[1]+numsInt[0];i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
	}
} 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) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] nums = br.readLine().split(" ");
		int[] numsInt = new int[2];
		numsInt[0] = Integer.parseInt(nums[0]);
		numsInt[1] = Integer.parseInt(nums[1]);
		if(-1000000 > numsInt[1] - numsInt[0]){
			for(int i =-1000000; i<numsInt[1]+numsInt[0]; i++){
				if(i == -1000000){
					System.out.print(i);
				}else{
					System.out.print(" " + i);
				}
			}
		}
		else if(1000000 < numsInt[1] + numsInt[0]){
			for(int i=numsInt[1]-numsInt[0]+1; i<1000001; i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
		else{
			for(int i=numsInt[1]-numsInt[0]+1; i<numsInt[1]+numsInt[0];i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] nums = br.readLine().split(" ");
		int[] numsInt = new int[2];
		numsInt[0] = Integer.parseInt(nums[0]);
		numsInt[1] = Integer.parseInt(nums[1]);
		if(-1000000 > numsInt[1] - numsInt[0]){
			for(int i =-1000000; i<numsInt[1]+numsInt[0]; i++){
				if(i == -1000000){
					System.out.print(i);
				}else{
					System.out.print(" " + i);
				}
			}
		}
		else if(1000000 < numsInt[1] + numsInt[0]){
			for(int i=numsInt[1]-numsInt[0]+1; i<1000001; i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
		else{
			for(int i=numsInt[1]-numsInt[0]+1; i<numsInt[1]+numsInt[0];i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] nums = br.readLine().split(" ");
		int[] numsInt = new int[2];
		numsInt[0] = Integer.parseInt(nums[0]);
		numsInt[1] = Integer.parseInt(nums[1]);
		if(-1000000 > numsInt[1] - numsInt[0]){
			for(int i =-1000000; i<numsInt[1]+numsInt[0]; i++){
				if(i == -1000000){
					System.out.print(i);
				}else{
					System.out.print(" " + i);
				}
			}
		}
		else if(1000000 < numsInt[1] + numsInt[0]){
			for(int i=numsInt[1]-numsInt[0]+1; i<1000001; i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
		else{
			for(int i=numsInt[1]-numsInt[0]+1; i<numsInt[1]+numsInt[0];i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] nums = br.readLine().split(" "); nums br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int[] numsInt = new int[2]; numsInt new int[2] 2 numsInt[0] = Integer.parseInt(nums[0]) numsInt[0] numsInt 0 Integer.parseInt(nums[0]) Integer.parseInt Integer nums[0] nums 0 numsInt[1] = Integer.parseInt(nums[1]) numsInt[1] numsInt 1 Integer.parseInt(nums[1]) Integer.parseInt Integer nums[1] nums 1 if(-1000000 > numsInt[1] - numsInt[0]){
			for(int i =-1000000; i<numsInt[1]+numsInt[0]; i++){
				if(i == -1000000){
					System.out.print(i);
				}else{
					System.out.print(" " + i);
				}
			}
		}
		else if(1000000 < numsInt[1] + numsInt[0]){
			for(int i=numsInt[1]-numsInt[0]+1; i<1000001; i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
		else{
			for(int i=numsInt[1]-numsInt[0]+1; i<numsInt[1]+numsInt[0];i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		} -1000000 > numsInt[1] - numsInt[0] -1000000 1000000 numsInt[1] - numsInt[0] numsInt[1] numsInt 1 numsInt[0] numsInt 0 {
			for(int i =-1000000; i<numsInt[1]+numsInt[0]; i++){
				if(i == -1000000){
					System.out.print(i);
				}else{
					System.out.print(" " + i);
				}
			}
		} for(int i =-1000000; i<numsInt[1]+numsInt[0]; i++){
				if(i == -1000000){
					System.out.print(i);
				}else{
					System.out.print(" " + i);
				}
			} int i =-1000000; int i =-1000000; i -1000000 1000000 i<numsInt[1]+numsInt[0] i numsInt[1]+numsInt[0] numsInt[1] numsInt 1 numsInt[0] numsInt 0 i++ i++ i {
				if(i == -1000000){
					System.out.print(i);
				}else{
					System.out.print(" " + i);
				}
			} {
				if(i == -1000000){
					System.out.print(i);
				}else{
					System.out.print(" " + i);
				}
			} if(i == -1000000){
					System.out.print(i);
				}else{
					System.out.print(" " + i);
				} i == -1000000 i -1000000 1000000 {
					System.out.print(i);
				} System.out.print(i) System.out.print System.out System System.out i {
					System.out.print(" " + i);
				} System.out.print(" " + i) System.out.print System.out System System.out " " + i " " i if(1000000 < numsInt[1] + numsInt[0]){
			for(int i=numsInt[1]-numsInt[0]+1; i<1000001; i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
		else{
			for(int i=numsInt[1]-numsInt[0]+1; i<numsInt[1]+numsInt[0];i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		} 1000000 < numsInt[1] + numsInt[0] 1000000 numsInt[1] + numsInt[0] numsInt[1] numsInt 1 numsInt[0] numsInt 0 {
			for(int i=numsInt[1]-numsInt[0]+1; i<1000001; i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		} for(int i=numsInt[1]-numsInt[0]+1; i<1000001; i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			} int i=numsInt[1]-numsInt[0]+1; int i=numsInt[1]-numsInt[0]+1; i numsInt[1]-numsInt[0]+1 numsInt[1]-numsInt[0] numsInt[1] numsInt 1 numsInt[0] numsInt 0 1 i<1000001 i 1000001 i++ i++ i {
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			} {
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			} if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				} i == numsInt[1]-numsInt[0]+1 i numsInt[1]-numsInt[0]+1 numsInt[1]-numsInt[0] numsInt[1] numsInt 1 numsInt[0] numsInt 0 1 {
					System.out.print(i);
				} System.out.print(i) System.out.print System.out System System.out i {
					System.out.print(" " + i);
				} System.out.print(" " + i) System.out.print System.out System System.out " " + i " " i {
			for(int i=numsInt[1]-numsInt[0]+1; i<numsInt[1]+numsInt[0];i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		} for(int i=numsInt[1]-numsInt[0]+1; i<numsInt[1]+numsInt[0];i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			} int i=numsInt[1]-numsInt[0]+1; int i=numsInt[1]-numsInt[0]+1; i numsInt[1]-numsInt[0]+1 numsInt[1]-numsInt[0] numsInt[1] numsInt 1 numsInt[0] numsInt 0 1 i<numsInt[1]+numsInt[0] i numsInt[1]+numsInt[0] numsInt[1] numsInt 1 numsInt[0] numsInt 0 i++ i++ i {
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			} {
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			} if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				} i == numsInt[1]-numsInt[0]+1 i numsInt[1]-numsInt[0]+1 numsInt[1]-numsInt[0] numsInt[1] numsInt 1 numsInt[0] numsInt 0 1 {
					System.out.print(i);
				} System.out.print(i) System.out.print System.out System System.out i {
					System.out.print(" " + i);
				} System.out.print(" " + i) System.out.print System.out System System.out " " + i " " i String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] nums = br.readLine().split(" ");
		int[] numsInt = new int[2];
		numsInt[0] = Integer.parseInt(nums[0]);
		numsInt[1] = Integer.parseInt(nums[1]);
		if(-1000000 > numsInt[1] - numsInt[0]){
			for(int i =-1000000; i<numsInt[1]+numsInt[0]; i++){
				if(i == -1000000){
					System.out.print(i);
				}else{
					System.out.print(" " + i);
				}
			}
		}
		else if(1000000 < numsInt[1] + numsInt[0]){
			for(int i=numsInt[1]-numsInt[0]+1; i<1000001; i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
		else{
			for(int i=numsInt[1]-numsInt[0]+1; i<numsInt[1]+numsInt[0];i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] nums = br.readLine().split(" ");
		int[] numsInt = new int[2];
		numsInt[0] = Integer.parseInt(nums[0]);
		numsInt[1] = Integer.parseInt(nums[1]);
		if(-1000000 > numsInt[1] - numsInt[0]){
			for(int i =-1000000; i<numsInt[1]+numsInt[0]; i++){
				if(i == -1000000){
					System.out.print(i);
				}else{
					System.out.print(" " + i);
				}
			}
		}
		else if(1000000 < numsInt[1] + numsInt[0]){
			for(int i=numsInt[1]-numsInt[0]+1; i<1000001; i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
		else{
			for(int i=numsInt[1]-numsInt[0]+1; i<numsInt[1]+numsInt[0];i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] nums = br.readLine().split(" ");
		int[] numsInt = new int[2];
		numsInt[0] = Integer.parseInt(nums[0]);
		numsInt[1] = Integer.parseInt(nums[1]);
		if(-1000000 > numsInt[1] - numsInt[0]){
			for(int i =-1000000; i<numsInt[1]+numsInt[0]; i++){
				if(i == -1000000){
					System.out.print(i);
				}else{
					System.out.print(" " + i);
				}
			}
		}
		else if(1000000 < numsInt[1] + numsInt[0]){
			for(int i=numsInt[1]-numsInt[0]+1; i<1000001; i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
		else{
			for(int i=numsInt[1]-numsInt[0]+1; i<numsInt[1]+numsInt[0];i++){
				if(i == numsInt[1]-numsInt[0]+1){
					System.out.print(i);
				} else{
					System.out.print(" " + i);
				}
			}
		}
	}
}
