If 'APPLE' is coded as 195312, what is the code for 'GRAPE'?

Answer: A. 718165
The letters correspond to their positions: A=1, P=16, L=12, E=5. For G=7, R=18, A=1, P=16, E=5, so GRAPE = 718165.