I tried your problem, just to see if I can do it, I've used an ASCII sum, I think it should work, what do you think?
Go here: repl.it/@hydroweaver/how-to-lose-a...
I apologize for the code not being readable, I'm trying to slowly get there :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.