var mass = [107,89,102,108,94,72,70,84,112,73];
var bigmass = mass.filter(function(x) {return x > 100});
var normmass = mass.filter(function(x) {return x <=100});
function average(arr) {
return arr.reduce(function(x, y) {return x + y}, 0) / arr.length
}
console.log(average(bigmass));
console.log(average(normmass));