1999+999*999
=1999 + (1000-1)*999
=1999 + 1000*999 - 999
=1999 - 999 + 1000 *999
=1000 + 999000
=1000000