with means for changing flow direction of one heat exchange medium