function solution(n, k) { let service = Math.floor(n / 10) return (n * 12000 + (k-service) * 2000) }
function solution(n, k) { return n * 12000 + (k - Math.floor(n / 10)) * 2000; }