find average , maximum , minimum, and sum of 3 numbers