The radii of three thin concentric metal shells A, B, and C are a, b, and c respectively. The shells A and C are given charges q and −q respectively while the middle shell B is earthed as shown in the figure.The charges appearing on the inner and the outer surfaces of sphere B are