How do UCs superscore the ACT?

I’m applying as a STEM major. One test day I got a 31 composite but a 29 in math, and the next time I took it I got a 30 composite but a 35 in math. How will they see this? Will they only look at the highest composite and throw away the second test day or will they see me as a 31 composite, 35 math?

UC’s do not super score. They will take the highest composite score from a single sitting along with any sub scores from the same sitting.