If p,q,r,s are distinct integers such that:
f(p,q,r,s)= max (p,q,r,s)
g(p,q,r,s)= min (p,q,r,s)
h(p,q,r,s)=remainder of (r×s)(p×q) if (p×q)>(r×s)
or remainder of (p×q)(r×s) if (r×s)>(p×q)
Also a function fgh(p,q,r,s)=f(p,q,r,s)×g(p,q,r,s)×h(p,q,r,s)
Also the same operations are valid with two variable functions of the form f(p,q)
What is the value of fg(h(2,5,7,3),4,6,8)?