Earth
So the minimum mass is 1.0x10-26kg
This is more than the mass of a hydrogen atom (1.67x10-27kg) or a helium atom (4 times larger), so they will escape into space. Oxygen, nitrogen and carbon dioxide, however, are over this minimum mass and hence will stay around.