import java.util.Scanner;

public class Main {
  public static void main (String[] args) {
    Scanner in = new Scanner(System.in);
    
    while (in.hasNext()) {
      int K = in.nextInt();
      int X = in.nextInt();
      int start = X - K + 1;
      int end = X + K - 1;
      
      System.out.print(start);
      for (int i = start + 1; i <= end; ++i) {
        System.out.print(" " + i);
      }
      System.out.println();
    }
  }
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main (String[] args) {
    Scanner in = new Scanner(System.in);
    
    while (in.hasNext()) {
      int K = in.nextInt();
      int X = in.nextInt();
      int start = X - K + 1;
      int end = X + K - 1;
      
      System.out.print(start);
      for (int i = start + 1; i <= end; ++i) {
        System.out.print(" " + i);
      }
      System.out.println();
    }
  }
} Main public static void main (String[] args) {
    Scanner in = new Scanner(System.in);
    
    while (in.hasNext()) {
      int K = in.nextInt();
      int X = in.nextInt();
      int start = X - K + 1;
      int end = X + K - 1;
      
      System.out.print(start);
      for (int i = start + 1; i <= end; ++i) {
        System.out.print(" " + i);
      }
      System.out.println();
    }
  } main {
    Scanner in = new Scanner(System.in);
    
    while (in.hasNext()) {
      int K = in.nextInt();
      int X = in.nextInt();
      int start = X - K + 1;
      int end = X + K - 1;
      
      System.out.print(start);
      for (int i = start + 1; i <= end; ++i) {
        System.out.print(" " + i);
      }
      System.out.println();
    }
  } Scanner in = new Scanner(System.in); in new Scanner(System.in) while (in.hasNext()) {
      int K = in.nextInt();
      int X = in.nextInt();
      int start = X - K + 1;
      int end = X + K - 1;
      
      System.out.print(start);
      for (int i = start + 1; i <= end; ++i) {
        System.out.print(" " + i);
      }
      System.out.println();
    } in.hasNext() in.hasNext in {
      int K = in.nextInt();
      int X = in.nextInt();
      int start = X - K + 1;
      int end = X + K - 1;
      
      System.out.print(start);
      for (int i = start + 1; i <= end; ++i) {
        System.out.print(" " + i);
      }
      System.out.println();
    } int K = in.nextInt(); K in.nextInt() in.nextInt in int X = in.nextInt(); X in.nextInt() in.nextInt in int start = X - K + 1; start X - K + 1 X - K X K 1 int end = X + K - 1; end X + K - 1 X + K X K 1 System.out.print(start) System.out.print System.out System System.out start for (int i = start + 1; i <= end; ++i) {
        System.out.print(" " + i);
      } int i = start + 1; int i = start + 1; i start + 1 start 1 i <= end i end ++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() System.out.println System.out System System.out String[] args args public class Main {
  public static void main (String[] args) {
    Scanner in = new Scanner(System.in);
    
    while (in.hasNext()) {
      int K = in.nextInt();
      int X = in.nextInt();
      int start = X - K + 1;
      int end = X + K - 1;
      
      System.out.print(start);
      for (int i = start + 1; i <= end; ++i) {
        System.out.print(" " + i);
      }
      System.out.println();
    }
  }
} public class Main {
  public static void main (String[] args) {
    Scanner in = new Scanner(System.in);
    
    while (in.hasNext()) {
      int K = in.nextInt();
      int X = in.nextInt();
      int start = X - K + 1;
      int end = X + K - 1;
      
      System.out.print(start);
      for (int i = start + 1; i <= end; ++i) {
        System.out.print(" " + i);
      }
      System.out.println();
    }
  }
} Main
import java.util.Scanner;

public class Main {
  public static void main (String[] args) {
    Scanner in = new Scanner(System.in);
    
    while (in.hasNext()) {
      int K = in.nextInt();
      int X = in.nextInt();
      int start = X - K + 1;
      int end = X + K - 1;
      
      System.out.print(start);
      for (int i = start + 1; i <= end; ++i) {
        System.out.print(" " + i);
      }
      System.out.println();
    }
  }
}