# Output
# print('Hello')
# print('Worldsldkjfsdf klghl;skdf jgl;kdf gj')
# print('He\n\nllo', end=' ')
# print('World')
# print('Hello', 'World', 30, 'Apple', sep=', ')
# Escape Sequence
# print('He\'\'llo')
# \t \n \' \" \0
# print('Hello')
# print('Hello World')
# print('Hello')
# print('World')
# print("'Hello'")
# print('"Hello World"')
# print('\"!@#$%^&*()\'')
# print('"C:\\Download\\\'hello\'.py"')
# print('print("Hello\\nWorld")')
'''
정수형: int
실수형: float
문자열형: string
문자형: chr
형태변환: ord
'''
# Input
# value = input()
# value = int(value)
# print(value, type(value))
# a b
# x, y = input().split(', ')
# x = int(x)
# print(x, y)
# x = int(input())
# y = int(input())
#
# print(x + y)
# value1, value2 = input().split()
# print(value1)
# print(value2)
# x = input()
# x = ord(x)
# print(x)
# x = x + 1
# print(x)
# x = chr(x)
# print(x)
# value=input()
# print(value)
# value=input()
# value=int(value)
# print(value)
# value=input()
# value=float(value)
# print(value)
# value1=input()
# value2=input()
#
# print(value2)
# print(value1)
# value=input()
# value=float(value)
# print(value)
# print(value)
# print(value)
# a, b=input().split()
# a=int(a)
# b=int(b)
# print(a)
# print(b)
# a, b=input().split()
# print(b,a)
# a=input()
# print(a, a, a)
# a, b=input().split(':')
# print(a, b, sep=':')
# y,m,d=input().split('.')
# print(d,m,y, sep='-')
# a, b=input().split('-')
# print(a, b, sep='')
# a=input()
# print(a[0])
# print(a[1])
# print(a[2])
# print(a[3])
# print(a[4])
# print(a[5])
# a=input()
# print(a[0:2],a[2:4],a[4:6])
# a,b,c=input().split(':')
# print(b)
# w1,w2=input().split()
# print(w1, w2, sep='')
# a=input()
# a=int(a)
# print(-a)
# a, b=input().split()
# c=int(a)+int(b)
# print(c)
# a = input()
# a = ord(a)
# a = a + 1
# a = chr(a)
# print(a)
# a,b=input().split()
# a=int(a)
# b=int(b)
# c=a-b
# print(c)
# a,b=input().split()
# a=float(a)
# b=float(b)
# m=a*b
# print(m)
# w,n=input().split()
# n=int(n)
# print(w*n)
# a
# b
# a, b= input().split()
# a = int(a)
# b = int(b)
#
# print(a + b)
# a=float(input())
# b=float(input())
# print(a+b)
# a=input()
# n=int(a)
# print('%x'%n)
# a=input()
# n=int(a)
# print('%X'%n)
# a=input()
# n=int(a,16)
# print('%o'%n)
# n=int(input())
# print(chr(n))
# n=input()
# s=input()
# print(int(n)*s)
# a, b=input().split()
# a=int(a)
# b=int(b)
# c=a**b
# print(c)
# f1, f2=input().split()
# f1=float(f1)
# f2=float(f2)
# c=f1**f2
# print(c)
# a,b=input(). split()
# a=int(a)
# b=int(b)
# print(a//b)
# a,b=input().split()
# a=int(a)
# b=int(b)
# print(a%b)
# a, b=input(). split()
# a=float(a)
# b=float(b)
# c=a/b
# print(format(c,".3f"))
# a,b=input(). split()
# a=int(a)
# b=int(b)
# c=a+b
# d=a-b
# e=a*b
# f=a//b
# g=a%b
# h=a/b
# print(c)
# print(d)
# print(e)
# print(f)
# print(g)
# print(format(h,'.2f'))
# a,b,c=input().split()
# a=int(a)
# b=int(b)
# c=int(c)
# s=a+b+c
# v=s/3
# print(s,format(v,'.2f'))
# a,b,c=input().split()
# a=int(a)
# b=int(b)
# c=int(c)
#
# print(a+b+c,format((a+b+c)/3,'.2f'))
# a=input()
# a=int(a)
# print(a*2)
# a,b=input().split()
# a=int(a)
# b=int(b)
# print(a<<b)
# a,b=input(). split()
# a=int(a)
# b=int(b)
# print(a<b)
# a,b=input(). split()
# a=int(a)
# b=int(b)
# print(a==b)
# a,b=input(). split()
# a=int(a)
# b=int(b)
# print(a<=b)
# a, b = map(int, input().split())
# print(a!=b)
# n=bool(int(input()))
# print(not(n))
# a,b=input().split()
# print(bool(int(a)) and bool(int(b)))
# a,b=input().split()
# print(bool(int(a)) or bool(int(b)))
# a,b=input().split()
# c=bool(int(a))
# d=bool(int(b))
# print((c and (not d)) or ((not c) and d))
# a,b=input().split()
# c=bool(int(a))
# d=bool(int(b))
# print((c and d) or ((not c) and (not d)))
# a,b=input().split()
# a=bool(int(a))
# b=bool(int(b))
# print((not a) and (not b))
# x, y = input().split()
# x = int(x)
# y = int(y)
#
# # true excute condition false excute
# z = ( x - y ) if ( x > y ) else ( y - x )
# print(z)
# a,b=input().split()
# a=int(a)
# b=int(b)
#
# c= (a if(a>=b) else b)
# c=int(c)
# print(c)
# a,b,c=input().split()
# a=int(a)
# b=int(b)
# c=int(c)
# d=(a if a<b else b) if((a if a<b else b)<c) else c
# print(int(d))
# a=input()
# a=int(a)
# print(~a)
# a,b=input().split()
# a=int(a)
# b=int(b)
# print(a&b)
# a,b=input().split()
# a=int(a)
# b=int(b)
# print(a|b)
# a,b=input().split()
# a=int(a)
# b=int(b)
# print(a ^ b)
# a,b,c=input().split()
# a=int(a)
# b=int(b)
# c=int(c)
# if a%2==0:
# print(a)
# if b%2==0:
# print(b)
# if c%2==0:
# print(c)
# a,b,c=input().split()
# a=int(a)
# b=int(b)
# c=int(c)
# if a%2==0:
# print('even')
# else:
# print('odd')
# if b%2==0:
# print('even')
# else:
# print('odd')
# if c%2==0:
# print('even')
# else:
# print('odd')
# n=input()
# n=int(n)
# if n<0:
# if n%2==0:
# print('A')
# else: print('B')
#
# else:
# if n%2==0:
# print('C')
# else: print('D')
# a=input()
# a=int(a)
# (a>=0) and (a<=100)
# if a>=90:
# print('A')
# elif a>=70:
# print('B')
# elif a>=40:
# print('C')
# elif a>=0:
# print('D')
# a=input()
#
# if a=='A':
# print('best!!!')
# elif a=='B':
# print('good!!')
# elif a=='C':
# print('run!')
# elif a=='D':
# print('slowly~')
# else: print('what?')
# a=input()
# a=int(a)
# if a==12 or a==1 or a==2:
# print('winter')
# elif a==3 or a==4 or a==5:
# print('spring')
# elif a==6 or a==7 or a==8:
# print('summer')
# elif a==9 or a==10 or a==11:
# print('fall')
# while True:
# x = int(input())
# print(x)
# if x == 0:
# break
#
# for i in range(1000000000):
#
# a=input()
# a=int(a)
# if (a>0) and (a<10):
# print('small')
# else: print()
# a,b,c=input().split()
# a=int(a)
# b=int(b)
# c=int(c)
#
# def swap(a, b):
# return (a, b) if a < b else (b, a)
#
# a, b = swap(a, b)
# b, c = swap(b, c)
# a, b = swap(a, b)
#
# print(a, b, c)
# a,b=input().split()
# a=int(a)
# b=int(b)
# if b>=30:
# print(a,(b-30))
# elif a>=1:
# print((a-1),(b+60-30))
# else:
# print(23,(b+30))
# a=input()
#
# a = int(a)
# a = (a%10) * 10 + (a//10)
# if (a*2)<=50:
# print(a*2)
# print('GOOD')
# elif (a*2)>50 and (a*2)<100:
# print(a*2)
# print('OH MY GOD')
#
# elif ((a*2)%100)<=50:
# print((a*2)%100)
# print('GOOD')
# else:
# print((a * 2) % 100)
# print('OH MY GOD')
# a=input()
#
# a = int(a)
# a = ((a%10) 10 + (a//10))2%100
#
# if a <= 50:
# print(a, 'GOOD', sep='\n')
# else:
# print(a, 'OH MY GOD', sep='\n')
# a=input()
# a=int(a)
# if a>0:
# print('양수')
# elif a<0:
# print('음수')
# else: print('0')
# a=input()
# a=int(a)
# if a>=90:
# print('A')
# elif a>=80:
# print('B')
# elif a>=70:
# print('C')
# elif a>=60:
# print('D')
# else:
# print('F')
# a=input()
# a=int(a)
# if a<=10:
# print('정상')
# elif a<=20:
# print('과체중')
# else:
# print('비만')
# a=input()
# a=int(a)
# if a//10==1:
# print(a,'th',sep='')
# elif a%10==1:
# print(a,'st',sep='')
# elif a%10==2:
# print(a,'nd',sep='')
# elif a%10==3:
# print(a,'rd',sep='')
# else:
# print(a,'th',sep='')
# a,b,c=input(). split()
# a=int(a)
# b=int(b)
# c=int(c)
# if ((a+b)<=c):
# print('삼각형아님')
# elif (a**2)+(b**2)==(c**2):
# print('직각삼각형')
# elif (a==b) and (b==c):
# print('정삼각형')
# elif (a==b and b!=c) or (a!=b and b==c):
# print('이등변삼각형')
# else:
# print('삼각형')
# a,b=input().split()
# a=int(a)
# b=int(b)
#
# if a%400==0 and b==2:
# print(29)
# elif (a%100!=0 and a%4==0) and b==2:
# print(29)
# elif b==2:
# print(28)
# elif ((b%2==1) and b<=7) or ((b%2==0) and b>7):
# print(31)
# else:print(30)
# Operator
# if
# Loops
# for i in range(10):
# print(i, end=' ')
# print()
#
# for i in range(50, 60): # inclusive, exclusive
# print(i, end=' ')
# print()
#
# for i in range(20, 40, 2):
# print(i, end=' ')
# print()
#
# data = [10, 20, 50, 40, 30]
#
# for i in data:
# print(i, end=' ')
# print()
#
# s = 0
# for i in range(1, 11):
# s += i ## s = s + i
# print(s)
#
# for i in range(5):
# for j in range(5):
# for i in range(1,101):
# print(i, end=' ')
# print()
# n=input()
# n=int(n)
# for n in range(1,n+1):
# print(n, end=' ')
# print()
# a,b=input(). split()
# a=int(a)
# b=int(b)
# if a<=b:
# for i in range(a, b+1):
# print(i, end=' ')
# else:
# for i in range(b, a+1):
# print(i, end=' ')
# print()
a, b = input().split()
a = ord(a)
b = ord(b)
for i in range(a, b+1):
print(chr(i), end=' ')
# List
# Tuple
# Dictionary
# Class
# Recursion
# AD:
# Matplotlib
# numpy
# cv2
# crawling
#