Python one line solution using the logic of logs and powers
```\nclass Solution:\n    def getSum(self, a: int, b: int) -> int:\n        return int(math.log2(2a * 2b))
```\nclass Solution:\n    def getSum(self, a: int, b: int) -> int:\n        return int(math.log2(2**a * 2**b))
['Python', 'Python3']