import java.util.Scanner;
public class Main{
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        for (int i = b - a + 1; i <= a + b - 1; i++) {
            System.out.println(i);
        }
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        for (int i = b - a + 1; i <= a + b - 1; i++) {
            System.out.println(i);
        }
    }
} Main public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        for (int i = b - a + 1; i <= a + b - 1; i++) {
            System.out.println(i);
        }
    } main {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        for (int i = b - a + 1; i <= a + b - 1; i++) {
            System.out.println(i);
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc for (int i = b - a + 1; i <= a + b - 1; i++) {
            System.out.println(i);
        } int i = b - a + 1; int i = b - a + 1; i b - a + 1 b - a b a 1 i <= a + b - 1 i a + b - 1 a + b a b 1 i++ i++ i {
            System.out.println(i);
        } {
            System.out.println(i);
        } System.out.println(i) System.out.println System.out System System.out i String[] args args public class Main{
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        for (int i = b - a + 1; i <= a + b - 1; i++) {
            System.out.println(i);
        }
    }
} public class Main{
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        for (int i = b - a + 1; i <= a + b - 1; i++) {
            System.out.println(i);
        }
    }
} Main
import java.util.Scanner;
public class Main{
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        for (int i = b - a + 1; i <= a + b - 1; i++) {
            System.out.println(i);
        }
    }
}
