Here's the final program. In theory, it should halt eventually, but it may be a bit of a wait. So since my program probably won't say it any time soon, I guess I'll have to: Thank you, Secret Santa!