'''****** Задание ******** *Считалочка 2.0. ''' start = int(input()) stop = int(input()) step = 1 if stop < start: step = -1 for i in range(start, stop + step, step): print(i, end=' ')