"""
date:     January 25, 2012
category: loops
purpose:  count integers in range of 20 to 100 that
          are evenly divisible by 13 or 22

pseudocode:
    for each integer in range of 20 to 100
        if integer is divisible by 13 or divisible by 22
            incremen count
    print count
"""

count = 0
i = 20

while i <= 100 :
    if i%13 == 0 or i%22 == 0 :
        count += 1
        print(i)
    i += 1

print("total count is", count)

    
