There are three objects - A, B and C.
If object A is in thermal equilibrium with objects B and C.
What can be concluded about them?
Thermal equilibrium between systems is a transitive relation.
It means, if two objects are each in thermal equilibrium with a third one, then they are in thermal equilibrium with each other.