A patient with low-grade fever and weight loss has poor excursion on the right side of the chest with decreased fremitus, dullness to percussion, and decreased breath sounds all on the right. The trachea is deviated to the left. The most likely diagnosis is
Pneumothorax Pleural effusion Consolidated pneumonia Atelectasis