a=1
while(a<=10):
    if(a%2==0):
        if(a%3==0):
            print(a)
    a+=1
        
#Normal While loop execution
'''a=1
while(a<=10):
    if(a%2==0):
        print(a)
        a+=1'''
        
