Sort:  

one brain. Two brainz. And yes - the bot is working but I had to take some help from a friend to understand it