def go(target,current,path): if current==target: # print('DONE!') return # print('debug',current, Z) x=bin(current)[2:].count('1') f,b=current+x,current-x if 0