finding max of the numbers in z3 using SMTLIB2

I have 7 cups which contains some water. I need to program these cups to have different amounts of water. Once this is done I need to measure the cup which has the highest amount of water and then remove some quantity (say 2 units of water). c implementations: This will give an answer as c7 = 3.8 I was trying to implement this in z3 and I assigned the values to c1….c7 and when I get the model values it should give c7_1 as 3.8 Is it possible to define this in z3? When I am using the and’s