function f(x,y,z){return$0=a[p=x y z]=a[p]?a[p]:x>y?f(f(x-5,y,z),f(y-5,z,x),f(z-5,x,y)):z}f($1,$2,$3)