I feel like there's a ⅓P solution somewhere, but I'm not sure it's better on instructions. This is, somehow, better on sum than my sum solution from three days ago.