Can I use 318 exhaust manifold on 340?

Those dyno numbers are from a stock motor? 311hp-400 ft/lbs from a teen? The more you cam, the more important a good exhaust becomes. Stock can exhale through a straw.