A number a1a2a3a4a5 is divisible by 9 if(i) a1+a2+a3+a4+a5 is divisible by 9.(ii) a1−a2+a3−a4+a5 is divisible by 9.