• + 0 comments
    import re
    print(len(max(re.findall(r"(1+)",bin(int(input().strip()))[2:]))))