convert the following in Java expression (max of (a,b)+ min of (b,c)) %(a^2+b^2+ c^2)