a*d*1000+a*e*100+b*d*100+b*e*10+c*d*10+c*e=max
From this, it is clear that d contributes the most to the expression (multiplier 1000a+b*100+c*10), then a, then b (d*100+e*10), then e (a*100+b*10+c), and finally c.
Therefore, 764*85=64940
Is this correct?