Two vessels separately contain two ideal gases A and B at the same temperature