first = 1;
last = 100;
while(first <= last):
    if(first%3==0):
        print(first);
    first = first+1;
    
    
"""
without using if condition

first = 3;
last = 100;
while(first <= last):
    print(first);
    first = first +3;

"""


