#include <stdio.h>
int main() {
int a, b, c, money, max = 0;
scanf("%d %d %d", &a, &b, &c);
if(a == b && b == c){
money = 10000 + a * 1000;
}else if(a == b || b == c || a == c){
if (a == b){
money = 1000 + a * 100;
}else if (b == c){
money = 1000 + b * 100;
}else if (a == c){
money = 1000 + a * 100;
}
}else{
if (a >= b && a >= c){
max = a;
}else if(b >= a && b >= c){
max = b;
}else if(c >= a && a >= b){
max = c;
}
money = max * 100;
}
printf("%d", money);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: