Given two systems in "thermal contact" (aka, two systems that can exchange energy) and constraints on the combined system (for example, a constant total energy = U) we know that the entropy, aka the number of states, must always increase ignoring slight fluctuations.
The condition that an...