Two cylinders A and B fitted with pistons contain equal amounts of an ideal diatomic gas at 300 K. The piston of A is free to move