a,b=map(int,raw_input().split(",")); while a<=b:print a;a+=1