def countOnes(n):
    ans = 0
    while n > 0:
        n &= n - 1
        ans += 1
    return ans


def answer(a, b):
    return countOnes(a ^ b)

217d66a0afb8b225938b2a3d882a91d3f2d02621
<mask token>

def countOnes(n):
    ans = 0
    while n > 0:
        n &= n - 1
        ans += 1
    return ans


<mask token>

def countOnes(n):
    ans = 0
    while n > 0:
        n &= n - 1
        ans += 1
    return ans


def answer(a, b):
    return countOnes(a ^ b)
