Function: invert(numbers("xyx") if numbers('xry') > numbers('rep') else numbers("yyy")) if mod(2 *(invert(numbers("xyx") if numbers('rep') > numbers("yyy") else numbers('xry'))), invert(numbers('rep') if numbers("yyy") > numbers("xyx") else numbers('xry'))) > 2 *(invert(numbers("xyx") if numbers('xry') > numbers('rep') else numbers("yyy"))) else round(mod(2 *(invert(numbers("xyx") if numbers("yyy") > numbers('rep') else numbers('xry'))), invert(numbers("xyx") if numbers("yyy") > numbers('xry') else numbers('rep'))), 2 *(invert(numbers("yyy") if numbers('xry') > numbers("xyx") else numbers('rep'))))