Function: noise(numbers('xyy') if numbers("per") > numbers("xxx") else numbers('yxy') if numbers("per") > sum(2 *(numbers('xyy') if numbers('yxy') > numbers("per") else numbers("xxx")), numbers('xyy') if numbers("xxx") > numbers('yxy') else numbers("per")) else 2 *(numbers('yxy') if numbers('xyy') > numbers("xxx") else numbers("per")))