# your code goes here def lidi(li): A=[] i=0 if li[0]==1: li[1]+=10 i+=1 while i1: # print(Ni) if Ni[len(Ni)-1]%2==1: Od+=1 Ni=lidi (Ni) M=Ni[0] while M>1: if M%2==1: Od+=1 M//=2 print (Od+1)