Question

A mixture of He and O2 is placed in a 4 L flask at 300 K. The partial pressure of the He is 2.7 atm and the partial pressure of the O2 is 1.4 atm. What is the mole fraction of O 2?

why is the total atm 4.1atm and not 3.78 atm