I racked my brains trying to figure this thing out. I walked away from it for a while, and had the numbers floating around in my head, and the answer smacked me in the face. So I ran back to my computer and pulled the game back up, and sure enough, I'd figured it out.
Great stuff!