def count_Unset_Bits(n) :
      
    cnt = 0;  
    for i in range(1,n + 1) : 
        temp = i;  
        while (temp) :  
            if (temp % 2 == 0) : 
                cnt += 1;  
            temp = temp // 2;  
    return cnt;  
def count_Unset_Bits(n):
    cnt = 0
    for i in range(1, n + 1):
        W469 = i
       
        while W469:
            if W469 % 2 == 0:
                cnt += 1
            W469 = W469 // 2
    return cnt