I thought this would be easier than it ended up being. Still a fun solve, though.