System of ventilating pipes