#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@project : leetcode
@author  : xuexuan
@file   : 461.汉明距离.py
@time   : 2019-12-06 21:18:40
"""

class Solution:
    def hammingDistance(self, x: int, y: int) -> int:
        count = 0
        while z:
            z = z >> 1
            count += 1
        return count