let country A code is:x
Country code is consecutive integers mean if A code is x then country B code is x+1 and country C code is x+1+1.
According to question sum of all country code is 90 then:

So country A code is x= 29.
Country B code is x+1=30.
Country C code is x+1+1=31.