a,b,c = map(int,input().split())
if(a==b==c):
price = 10000+a*1000
elif (a==b or a==c or b==c):
if (a==b):
price =1000+a*100
elif (b==c):
price =1000+b*100
else:
price =1000+c*100
else:
if(a>b):
if(a>c):
tmp = a
else:
tmp = c
else :
if (b>c):
tmp = b
else :
tmp = c
price = (tmp * 100)
print(price)
๊ทธ๋ฅ ๊ฐ์ผ๋ก ๋๋ ค ์ฝ๋ฉํด์ ์ง์ ๋ถํ๋ค
๋ค๋ฅธ ์ฝ๋๋ ์ฐธ๊ณ ํด๋ดค๋ค.
a,b,c = map(int,input().split())
list=[a,b,c]
if a==b==c : print(10000+a*1000)
elif a==b or a==c : print(1000+a*100)
elif b==c : print(1000+b*100)
else : print(max(list)*100)
abc ๋ฅผ list ์ ๋ฃ์ด์ ์ต๋๊ฐ์ max() ํจ์๋ฅผ ์ฌ์ฉํด์ ์ถ๋ ฅ