In a G.P., if the product of the first three terms is \( 27 \) and the set of all possible values for the sum of its first three terms is \( \mathbb{R} - (a, b) \), then \( a^2 + b^2 \) is equal to __________.