>>587
a1=100 and a2=500 and a3=1000