import 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;
		int size = max - min + 1;
		
		String result = String.valueOf(min);
			
		if (size != 1) {
			
			for (int i = 1; i < size - 1; i ++) {
				result = result + " " + String.valueOf(min + i);
			}
		
			result = result + " " + String.valueOf(max);
		}
		
		System.out.println(result);
    
  }
  
} import java.util.*; util.* java 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;
		int size = max - min + 1;
		
		String result = String.valueOf(min);
			
		if (size != 1) {
			
			for (int i = 1; i < size - 1; i ++) {
				result = result + " " + String.valueOf(min + i);
			}
		
			result = result + " " + String.valueOf(max);
		}
		
		System.out.println(result);
    
  }
  
} 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;
		int size = max - min + 1;
		
		String result = String.valueOf(min);
			
		if (size != 1) {
			
			for (int i = 1; i < size - 1; i ++) {
				result = result + " " + String.valueOf(min + i);
			}
		
			result = result + " " + String.valueOf(max);
		}
		
		System.out.println(result);
    
  } 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;
		int size = max - min + 1;
		
		String result = String.valueOf(min);
			
		if (size != 1) {
			
			for (int i = 1; i < size - 1; i ++) {
				result = result + " " + String.valueOf(min + i);
			}
		
			result = result + " " + String.valueOf(max);
		}
		
		System.out.println(result);
    
  } 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 int size = max - min + 1; size max - min + 1 max - min max min 1 String result = String.valueOf(min); result String.valueOf(min) String.valueOf String min if (size != 1) {
			
			for (int i = 1; i < size - 1; i ++) {
				result = result + " " + String.valueOf(min + i);
			}
		
			result = result + " " + String.valueOf(max);
		} size != 1 size 1 {
			
			for (int i = 1; i < size - 1; i ++) {
				result = result + " " + String.valueOf(min + i);
			}
		
			result = result + " " + String.valueOf(max);
		} for (int i = 1; i < size - 1; i ++) {
				result = result + " " + String.valueOf(min + i);
			} int i = 1; int i = 1; i 1 i < size - 1 i size - 1 size 1 i ++ i ++ i {
				result = result + " " + String.valueOf(min + i);
			} {
				result = result + " " + String.valueOf(min + i);
			} result = result + " " + String.valueOf(min + i) result result + " " + String.valueOf(min + i) result + " " + String.valueOf(min + i) result " " String.valueOf(min + i) String.valueOf String min + i min i result = result + " " + String.valueOf(max) result result + " " + String.valueOf(max) result + " " + String.valueOf(max) result " " String.valueOf(max) String.valueOf String max System.out.println(result) System.out.println System.out System System.out result 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;
		int size = max - min + 1;
		
		String result = String.valueOf(min);
			
		if (size != 1) {
			
			for (int i = 1; i < size - 1; i ++) {
				result = result + " " + String.valueOf(min + i);
			}
		
			result = result + " " + String.valueOf(max);
		}
		
		System.out.println(result);
    
  }
  
} 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;
		int size = max - min + 1;
		
		String result = String.valueOf(min);
			
		if (size != 1) {
			
			for (int i = 1; i < size - 1; i ++) {
				result = result + " " + String.valueOf(min + i);
			}
		
			result = result + " " + String.valueOf(max);
		}
		
		System.out.println(result);
    
  }
  
} Main
import 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;
		int size = max - min + 1;
		
		String result = String.valueOf(min);
			
		if (size != 1) {
			
			for (int i = 1; i < size - 1; i ++) {
				result = result + " " + String.valueOf(min + i);
			}
		
			result = result + " " + String.valueOf(max);
		}
		
		System.out.println(result);
    
  }
  
}