Pošljite SMS: Tight bounds on the coefficients of partition functions via stability