/*import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in=new Scanner(System.in);
int l=in.nextInt();
if (l>=90) {
System.out.println("A"); }
else if(l>=80) {
System.out.println("B");}
else if(l>=70) {
System.out.println("C");
}
else if(l>=60) {
System.out.println("D");
}
else {
System.out.println("F");
}
}
}
import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner in=new Scanner(System.in);
int a=in.nextInt();
int b=in.nextInt();
if(b%a==0)
{
System.out.println(a+"*"+b/a+"="+b);
}
else if(a%b==0)
{
System.out.println(b+"*"+a/b+"="+b);
}
else
{
System.out.println("none");
}
}
}
import java.util.*;
public class Main{
public static void main(String[] args) {
int i;
for(i=1;i<=100;i++) {
System.out.print(i+" ");
}
}
}
import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner in=new Scanner(System.in);
int i;
int n=in.nextInt();
for(i=1;i<=n;i++) {
System.out.print(i+" ");
}
}
}*/
import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner in=new Scanner(System.in);
int i,a,b;
a=in.nextInt();
b=in.nextInt();
if(a<b) {
for(i=a;i<=b;i++) {
System.out.print(i+" ");
}
}
else
{
for(i=b;i<=a;i++) {
System.out.print(i+" ");
}
}
}
}