a+b+c=3d
100a+10b+c
=99a+9b+a+b+c
=3(33a+3b)+3d
=3(33a+3b+d)