A hole at one end. Put an empty, open bottle in a bowl of water facing downwards - where does the air go? Nowhere.
I can assure you, you can exhale upon ascent when inverted. (source: me, who used to log plenty of hours below 150fsw breathing mixed gasses).