a x 101 - a + 72 x 99 + 72 = 21500
a x 101 - a + 72 x 99 + 72 = a x 101 - a x 1 + 72 x 99 + 72 x 1 = a x (101 - 1) + 72 x (99 + 1) = a x 100 + 72 x 100 = (a + 72) x 100 = 21500.
a + 72 = 21500 : 100 = 215.
a + 72 = 215=> a = 215-72
a=143
a x 101 - a + 72 x 99 + 72 = 21500
a x ( 101 - 1 ) + 72 x ( 99+ 1 ) = 21500
a x 100 + 72 x 100 = 21500
a x 100 + 7200 = 21500
a x 100 = 21500 - 7200
a x 100 =14300
a = 143 00 : 100
a = 143