counter = 0 for i in range(10): if(i <= 12 and i >= 1): counter += 1 if(1+i <= 12): counter += 1 if(2+i <= 12): counter += 1 for i in range(2): if(3+i <= 12): if(i == 1 and (3 + i == 2 or 3 + i == 4 or 3 + i == 6 or 3 + i == 9 or 3 + i == 11)): counter += 0 else: counter += 1 print(counter)