\(23\cdot87+77\cdot16+77\cdot24-23\cdot37\)
\(=\left(23\cdot87-23\cdot37\right)+77\cdot16+77\cdot24\)
\(=23\left(87-37\right)+77\left(16+24\right)\)
\(=23\cdot50+77\cdot40\)
\(=1150+3080=4230\)
23.87+77.16+77.24-23.37
=23.(87-37)+77.(16+24)
=23.50+77.40
=1120+3080
=4230