import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
      Scanner sc = new Scanner(System.in);
      int N1 = sc.nextInt();
      int N2 = sc.nextInt();      
		for(int i = -N1 +1;  i <  N1  ; i++){
          	if( N2 + i < -1000001 || N2 + i > 1000001){
            continue;
            }
			System.out.println(N2 + i);
          }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
      Scanner sc = new Scanner(System.in);
      int N1 = sc.nextInt();
      int N2 = sc.nextInt();      
		for(int i = -N1 +1;  i <  N1  ; i++){
          	if( N2 + i < -1000001 || N2 + i > 1000001){
            continue;
            }
			System.out.println(N2 + i);
          }
    }
} Main public static void main(String[] args) throws Exception {
      Scanner sc = new Scanner(System.in);
      int N1 = sc.nextInt();
      int N2 = sc.nextInt();      
		for(int i = -N1 +1;  i <  N1  ; i++){
          	if( N2 + i < -1000001 || N2 + i > 1000001){
            continue;
            }
			System.out.println(N2 + i);
          }
    } main {
      Scanner sc = new Scanner(System.in);
      int N1 = sc.nextInt();
      int N2 = sc.nextInt();      
		for(int i = -N1 +1;  i <  N1  ; i++){
          	if( N2 + i < -1000001 || N2 + i > 1000001){
            continue;
            }
			System.out.println(N2 + i);
          }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N1 = sc.nextInt(); N1 sc.nextInt() sc.nextInt sc int N2 = sc.nextInt(); N2 sc.nextInt() sc.nextInt sc for(int i = -N1 +1;  i <  N1  ; i++){
          	if( N2 + i < -1000001 || N2 + i > 1000001){
            continue;
            }
			System.out.println(N2 + i);
          } int i = -N1 +1; int i = -N1 +1; i -N1 +1 -N1 N1 1 i <  N1 i N1 i++ i++ i {
          	if( N2 + i < -1000001 || N2 + i > 1000001){
            continue;
            }
			System.out.println(N2 + i);
          } {
          	if( N2 + i < -1000001 || N2 + i > 1000001){
            continue;
            }
			System.out.println(N2 + i);
          } if( N2 + i < -1000001 || N2 + i > 1000001){
            continue;
            } N2 + i < -1000001 || N2 + i > 1000001 N2 + i < -1000001 N2 + i N2 i -1000001 1000001 N2 + i > 1000001 N2 + i N2 i 1000001 {
            continue;
            } continue; System.out.println(N2 + i) System.out.println System.out System System.out N2 + i N2 i String[] args args public class Main {
    public static void main(String[] args) throws Exception {
      Scanner sc = new Scanner(System.in);
      int N1 = sc.nextInt();
      int N2 = sc.nextInt();      
		for(int i = -N1 +1;  i <  N1  ; i++){
          	if( N2 + i < -1000001 || N2 + i > 1000001){
            continue;
            }
			System.out.println(N2 + i);
          }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
      Scanner sc = new Scanner(System.in);
      int N1 = sc.nextInt();
      int N2 = sc.nextInt();      
		for(int i = -N1 +1;  i <  N1  ; i++){
          	if( N2 + i < -1000001 || N2 + i > 1000001){
            continue;
            }
			System.out.println(N2 + i);
          }
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
      Scanner sc = new Scanner(System.in);
      int N1 = sc.nextInt();
      int N2 = sc.nextInt();      
		for(int i = -N1 +1;  i <  N1  ; i++){
          	if( N2 + i < -1000001 || N2 + i > 1000001){
            continue;
            }
			System.out.println(N2 + i);
          }
    }
}
