def stars(a,b):
    for n in range(a, b+1):
        if (n % 3 == 1) and (n % 4 == 2) and (n % 5 == 3):
            print(n)


stars(100,200)
'''
for n in range(100,201):
    if(n%3==1) and (n%4==2) and (n%5==3):
        print(n)
        '''
