i haven't figured it out cause i kind of gave up for a bit, later i might try to brute force the puzzle cause the clues don't really help here.
maybe after i've solved it then i'll see what kind of logic you was going after. i'll try this tomorrow but today i'm just not up for doing anything.