Function: 2 *(product(numbers("xxr") if numbers('yyx') > mod(numbers("xxr"), numbers('yyx')) else numbers('yyx'), mod(numbers("xxr"), numbers('yyx'))) if numbers("xxr") > mod(numbers("xxr"), numbers('yyx')) else numbers('yyx') if mod(numbers("xxr"), numbers('yyx')) > numbers('yyx') else numbers("xxr"))