function solution(n) {
let answer = 0;
for(let i = 2; i <= n; i+= 2) answer += i;
return answer;
}
function solution(n) {
let half = Math.floor(n/2);
return half * (half+1);
}
function solution(n) {
let count = Math.trunc(n / 2)
return count * (count+1)
}