Which way will the mediastinum shift if there is both atelectasis and pleural effusion?

Which way will the mediastinum shift if there is both atelectasis and pleural effusion?

There may be no shift in this case.