Safety or B 1&G at A-3. The kick does not end until the ball goes out of bounds, so the entire play is one big scrimmage kick play. And since it crosses the neutral zone before going out of bounds, Team B can either enforce it where the subsequent dead ball belongs to them (A-6) or "at the previous spot". The quotation marks are because of the new editorial change this year to 6-3-13. There is now an exception that states that the "previous spot" enforcement is actually a safety for fouls in A's end zone. I think a lot of people might have already assumed that, but the specific wording of the rule meant that it technically wasn't an option before.