• + 0 comments
    #python
        n = int(input().strip())
        maxx=0
        for x in bin(n)[2:].split('0'):
            if x!="":
                maxx=max(len(x), maxx)
        print(maxx)