I'm trying to calculate a single average of 2 columns (ex: A1:A10 and B1:B10) using the higher of the 2 values per row.

So for example:
A B

5 7
2 2
4 8
5 5
7 4
2 2
4 6
8 9
3 4
3 1

The equation should take the average of 7, 2, 8, 5, 7, 2, 6, 9, 4, 3 and return 5.3.