console.log('сумма чет ' + arr.reduce((sum, n) => sum + n * !(n & 1), +0,));
const positiveNums = arr.filter((num) => num > 0); // [16,54,72,47,4,25,46,4,27,4,76,12,4,47]
const oddPositiveNums = arr.filter((num) => num > 0 && num % 2 !== 0); // [47,25,27,47]
const sum = arr
.filter((num) => num > 0 && num % 2 !== 0)
.reduce((acc, num) => acc += num); // 146