class Solution:
    def isPowerOfTwo(self, n: int) -> bool:
        if n < 1:
            return False
            
        return (n & n-1) == 0

def main():
    sol = Solution()

    print(sol.isPowerOfTwo(0))

if __name__ == "__main__":
    main()
f341446896e9b214d76f4e9276fbb07e3378c5d9
class Solution:
    <mask token>


<mask token>

class Solution:

    def isPowerOfTwo(self, n: int) ->bool:
        if n < 1:
            return False
        return n & n - 1 == 0


<mask token>

class Solution:

    def isPowerOfTwo(self, n: int) ->bool:
        if n < 1:
            return False
        return n & n - 1 == 0


def main():
    sol = Solution()
    print(sol.isPowerOfTwo(0))


<mask token>

class Solution:

    def isPowerOfTwo(self, n: int) ->bool:
        if n < 1:
            return False
        return n & n - 1 == 0


def main():
    sol = Solution()
    print(sol.isPowerOfTwo(0))


if __name__ == '__main__':
    main()

class Solution:
    def isPowerOfTwo(self, n: int) -> bool:
        if n < 1:
            return False
            
        return (n & n-1) == 0

def main():
    sol = Solution()

    print(sol.isPowerOfTwo(0))

if __name__ == "__main__":
    main()