999×778+333×666
=999×778+333×(3×222)
=999×778+333×3×222
=999×778+999×222
=999×(778+222)
=999×1000
=999000