Find the average value of the function f(x,y,z) = x² + y² + z² over the rectangular prism 0 ≤ x ≤ 4, 0 ≤ y ≤ 2, 0 ≤ z ≤ 4.

a) 24
b) 32
c) 48
d) 64