An interesting take on the puzzle genre! It took a few mathematical equations in my noggin, but I managed to make it through! Nice job!