Toptal Interview Question

Print the average of a nested array's elements.