Given the codes: 'SUN' = 21, 25, 30 and 'MOON' = 18, 22, 26, 29, what is the code for 'STAR'?

Answer: B. 19, 23, 27, 31
The pattern shows that each letter's code is derived from a consistent numerical transformation based on their positions.