There's really only one solution to this.
The solution? It's simple:
Figure it out.
That's it.
Also, you think you've got problems? What are you supposed to do if you are a manically depressed robot? No, don't try to answer that. I'm fifty thousand times more intelligent than you and even I don't know the answer. It gives me a headache just trying to think down to your level.