import java.util.*;

class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    for (int i=-300;i<300;i++){
      if (Math.abs(i-x) < k){
        System.out.print(i);
        System.out.print(" ");
      }
    }
  }
} import java.util.*; util.* java class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    for (int i=-300;i<300;i++){
      if (Math.abs(i-x) < k){
        System.out.print(i);
        System.out.print(" ");
      }
    }
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    for (int i=-300;i<300;i++){
      if (Math.abs(i-x) < k){
        System.out.print(i);
        System.out.print(" ");
      }
    }
  } main {
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    for (int i=-300;i<300;i++){
      if (Math.abs(i-x) < k){
        System.out.print(i);
        System.out.print(" ");
      }
    }
  } 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 for (int i=-300;i<300;i++){
      if (Math.abs(i-x) < k){
        System.out.print(i);
        System.out.print(" ");
      }
    } int i=-300; int i=-300; i -300 300 i<300 i 300 i++ i++ i {
      if (Math.abs(i-x) < k){
        System.out.print(i);
        System.out.print(" ");
      }
    } {
      if (Math.abs(i-x) < k){
        System.out.print(i);
        System.out.print(" ");
      }
    } if (Math.abs(i-x) < k){
        System.out.print(i);
        System.out.print(" ");
      } Math.abs(i-x) < k Math.abs(i-x) Math.abs Math i-x i x k {
        System.out.print(i);
        System.out.print(" ");
      } System.out.print(i) System.out.print System.out System System.out i System.out.print(" ") System.out.print System.out System System.out " " String[] args args
import java.util.*;

class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    for (int i=-300;i<300;i++){
      if (Math.abs(i-x) < k){
        System.out.print(i);
        System.out.print(" ");
      }
    }
  }
}