import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
int a = Integer.parseInt(st.nextToken());
int b = Integer.parseInt(st.nextToken());
int c = Integer.parseInt(st.nextToken());
if(a == b && b == c) System.out.println(10000 + a * 1000);
else if(a == b || a == c) System.out.println(1000 + a * 100);
else if(b == c) System.out.println(1000 + b * 100);
else System.out.println(Math.max(a, Math.max(b, c)) * 100);
br.close();
}
}
'Coding Test > 백준' 카테고리의 다른 글
[백준/자바] 25314 - 코딩은 체육과목 입니다 (0) | 2023.05.06 |
---|---|
[백준/자바] 10871 - X보다 작은 수 (0) | 2023.05.06 |
[백준/자바] 2525 - 오븐 시계 (0) | 2023.05.06 |
[백준/자바] 2884 - 알람 시계 (0) | 2023.05.06 |
[백준/자바] 11382 - 꼬마 정민 (0) | 2023.05.05 |