That first secret was really brilliant by the way. I highly encourage anyone looking at the comments to not look at the source code.
Yes, this is solvable. There's not much more to it than what you presumably discovered.