M[X]= 0, D[X]= 3 or peek-a-boo logic)

 

v20240901