https://www.acmicpc.net/problem/2480
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner s=new Scanner(System.in);
int a=s.nextInt();
int b=s.nextInt();
int c=s.nextInt();
if(a==b&&b==c) System.out.format("%d",10000+a*1000);
else if(a==b) System.out.format("%d",1000+a*100);
else if(a==c) System.out.format("%d",1000+a*100);
else if(b==c) System.out.format("%d",1000+b*100);
else{
int max=Math.max(a,Math.max(b,c));
System.out.format("%d",max*100);
}
}
}