1040-x for multiple years involving a carryover

I discovered that i had missed some deductible insurance premiums for the last several years. In one of the years i had to carryover a credit, so the carryover (and use of the following year) are affected. Can I file both amendments at once? Or do i need to wait for the first year to be accepted before filing the second year. The net would be $0 in year 1 and a refund for year 2.