Day 1 solve with a little bit of secondary optimization.