Three weather stations are at A(2,4,−3), B(a,−1,5) and C(5,b,c), with all coordinates in kilometres measured from a control tower. A recorder is placed at the centroid of triangle ABC, and its coordinates are (3,1,2). The numbers a, b and c are whole numbers. What is the value of a+b+c?