해답:
const input = require('fs').readFileSync('/dev/stdin').toString().split(" ");
const a = +input[0];
const b = +input[1];
const c = +input[2];
let money = 0;
let maxNum = 0;
if(a === b && a === c){
money = 10000 + a * 1000; // 같은 눈이 3개일 시
} else if(a === b || a === c || b === c){ // 같은 눈이 두개 일 시
if(a === b || a === c){
money = 1000 + a*100;
} else{
money = 1000 + b*100;
}
} else { // 같은 눈이 없을 시
maxNum = Math.max(...input);
money = maxNum*100;
}
console.log(money);