lowest set bit

invalid in python , and !converts true to false in c++ , this is the reason