[Community Puzzle] Cosmic Love

You may send your code to me in private message.

Edit: The issue was that a wrong calculation had been used for comparing the planets’ distances to Alice.