Bruteforce solution without z3 or anything except math and force.     Not the intended solution, but it does work.    Intended solution was to notice the reference to the "Remote Control" vocaloid song and put commands from its lyrics to the program. However, I tried that and it didn't work for me.
[Read the solution code here](https://gist.github.com/paulll/7a8e65d1b6a1b91bae86874a73775f6d)