I honestly didn't and still don't understand rules of the game, but the idea for it seems really unique with trying to get to a higher number and not to be less than 10% so uh, props for that.
the output of the equation is greater than your number, your number decreases, but if the output is less than your number your number increases. Sorry if the game was confusing