The dynamics of the debt ceiling endgame