Ugh! I had the concept figured out within the first 10 seconds, but thought it too simple to test it out. So I went through an hour and a half of different theories and algorithms before I got back to the name being important. And, sure enough, my silly little first idea was right!

It was fun figuring it out, though.