Finish the sample of using max function.
Finish the sample of using min function.
Finish the sample of using avg function.
Finish the sample of using sum function.