“G2427.10.4
Where two or more vent connectors enter a common gas vent, chimney flue or single-wall metal pipe, the smaller connector shall enter at the highest level…”
Also, there are length requirements which might be an issue. Definitely one for referral to a qualified contractor.