secound one,Average of an array values