def onebits(x, width=16):
    return len(list(filter((lambda x: (x == '1')), (str(((x >> i) & 1)) for i in range((width - 1), (- 1), (- 1))))))
def onebits(x, width=16):
    return len(list(filter((lambda x: (x == '1')), (str(((x >> i) & 1)) for i in range((width - 1), (- 1), (- 1))))))