Observe the first three sets of numbers to determine the missing value in the fourth set.

Are you sure you know the value?

{-5, 23, 12, 16}

{1, 39, -14, 52}

{17, 47, 42, -12}

{25, ?, 11, 31}