In this case, one considers the Gibbs free energy for the reaction as:
Which should be negative if is spontaneous (thermodynamically favored). Thus, for the given information about the 400K, the entropy of reaction turns out:
Such value is obtained assuming a temperature below 400K and a negative value for the Gibbs free energy of such reaction, for which the entropy must be positive for all the possibilities, accomplishing the thermodynamic favorability.