-D'M(X,Y,Z)=(X>Y?X>Z?X:Z:Y>Z?Y:Z)' -D'F(X,Y)=X(i,j){i-19?X(i+1,1):(*s=*t=s[21]=t[21]=0);for(;j<21;++j)p[j]=m[Y]+(i-19?M(q[j-1],q[j],q[j+1]):0);p=p-s?(q=t,s):(q=s,t);for(j=q[i=1];i<21;++i)j=j