[5, 2, 8, 1, 4].filter(x => x > 2).map(x => x * 10).reduce((a, b) => a + b, 0)