Problem:


Score : 100 points

Problem Statement

You have decided to give an allowance to your child depending on the outcome of the game that he will play now.

The game is played as follows:

There are three "integer panels", each with a digit between 1 and 9 (inclusive) printed on it, and one "operator panel" with a + printed on it.

The player should construct a formula of the form X + Y, by arranging the four panels from left to right. (The operator panel should not be placed at either end of the formula.)

Then, the amount of the allowance will be equal to the resulting value of the formula.

Given the values A, B and C printed on the integer panels used in the game, find the maximum possible amount of the allowance.

Constraints

All values in input are integers.

1 \leq A, B, C \leq 9

Input

Input is given from Standard Input in the following format:

A B C

Output

Print the maximum possible amount of the allowance.

Sample Input 1

1 5 2

Sample Output 1

53

The amount of the allowance will be 53 when the panels are arranged as 52+1, and this is the maximum possible amount.

Sample Input 2

9 9 9

Sample Output 2

108

Sample Input 3

6 6 7

Sample Output 3

82



Sample input:
1 5 2


Sample output:
53

Submission status: Wrong Answer

Solution code:
a,b,c=sorted(map(int,input().split()))
print(10*a+b+c)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split(" "))
x = a * 10 + b + c
y = a + b * 10 + c
print(x if (x > y) else y)

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
print(a,b,c)
if b<=c:
    d=b
    b=c
    c=d
if a<=b:
    d=a
    a=b
    b=d
if b<=c:
    d=b
    b=c
    c=d
print(a,b,c)

print(10*a+b+c)

Submission status: Wrong Answer

Solution code:
a,b,c=sorted(map(int,input().split()))
print(a*10+b+c)

Submission status: Wrong Answer

Solution code:
def test():
    a = list(map(int,input().split()))
    b = str(max(a))
    a.remove(max(a))
    c = str(max(a))
    d = int(b+c)
    print(d+int(a[0]))


if __name__ == "__main__":
    test()

Submission status: Wrong Answer

Solution code:
N=sorted(list(map(int,input().split())))
print(N[0]*10+N[1]+N[2])

Submission status: Wrong Answer

Solution code:
a = list(map(int, input().split()))
print(a[0] + a[1] + a[2] * 10)

Submission status: Wrong Answer

Solution code:
import math

# inputList=[]
# for i in range(6):
#     inputNum = input()
#     inputList.append(inputNum)
inputa = input().split()
# inputb = input().split()

tmpList = [int(n) for n in inputa]
tmpList.sort()

a = int(inputa[0])
b = int(inputa[1])
c = int(inputa[2])

# x = int(inputb[0])
# y = int(inputb[1])

print(c * 10 + a + b)

Submission status: Wrong Answer

Solution code:
a, b, c = sorted(map(int, input().split()))
print(10*a+b+c)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print(10*a+b+c if 10*a+b+c>=a+10*b+c else a+10*b+c)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print(10*a+b if 10*a+b>=10*b+c else 10*b+c)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
print(max((10*a+b)+c,a+(10*b+c)))

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
print(max(10*a+b,10*b+c))

Submission status: Wrong Answer

Solution code:
A,B,C=sorted(map(int,input().split()))
print(10*A+B+C)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
ans = 0
if max(a,b,c) == a:
    ans = (a*10+b+c)
if max(a,b,c) == b:
    ans = (b*10+a+c)
else:
    ans = (c*10+a+b)
print(ans)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
if max(a,b,c) == a:
    print(a*10+b+c)
if max(a,b,c) == b:
    print(b*10+a+c)
else:
    print(c*10+a+b)

Submission status: Wrong Answer

Solution code:
li = list(map(int,input().rstrip().split()))


print(li[2]*10 + li[1] + li[0])

Submission status: Wrong Answer

Solution code:
a= list(input())
a.sort()
print(a[2] * 10 + a[1] + a[0])

Submission status: Wrong Answer

Solution code:
x = list(map(int, input().split()))

ans = 0
for i in range(2):
    r = 2 if i==0 else 0
    ans = max(ans, x[i]*10+x[i+1] + x[r])
     
    
print(ans)

Submission status: Wrong Answer

Solution code:
N = list(map(int, input().split()))
N.sort(reverse=True)
print(N)
print(N[0]*10 + N[1] + N[2])

Submission status: Wrong Answer

Solution code:
l = list(map(int,input().split()))
l.sort()
print(l[0]*10 +l[1]+l[2])

Submission status: Wrong Answer

Solution code:
a = list(map(int, input().split()))
a.sort()

print(a[0]*10+a[1]+a[2])

Submission status: Wrong Answer

Solution code:
l = list(map(int,input().split()))
l.sort()
print(sum(l[:2])+l[2]*100)

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))

sorted(a)

print(10 * a[2] + a[1] + a[0])

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print(max((10 * a + b + c), (a + 10 * b + c)))

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print(max((10 * a + c), (a + 10 * b + c)))

Submission status: Wrong Answer

Solution code:
n = sorted(list(map(int,"1 2 3".split())),reverse=True)
print(n[0]*10+n[1]+n[2])

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
a.sort
print(10*a[2]+a[1]+a[0])

Submission status: Wrong Answer

Solution code:
A,B,C = map(str, input().split())
print(int(''.join(B+C))+int(A))

Submission status: Wrong Answer

Solution code:
a, b, c = input().split()
print(max(eval(a+b+'+'+c),eval(a+'+'+b+c)))

Submission status: Wrong Answer

Solution code:
A,B,C=map(int,input().split())
D=A+B
print(D+C)

Submission status: Wrong Answer

Solution code:
A, B, C = input().split()
print(max(eval(A+B+'+'+C), eval(A+'+'+B+C)))

Submission status: Wrong Answer

Solution code:
L=sorted(list(map(int, input().split())))
print(L[2]*L[1]+L[0])

Submission status: Wrong Answer

Solution code:
L=sorted(list(map(int, input().split())))
print(L[2]*L[1]-L[0])

Submission status: Wrong Answer

Solution code:
ABC = [int(x) for x in input().split()]
ABC.sort()
answer = ABC[0]*10 + sum(ABC[1:])
print(answer)

Submission status: Wrong Answer

Solution code:
a,b,c = input().split()
print(max(int(a+b)+int(c),int(b+c)+int(a)))

Submission status: Wrong Answer

Solution code:

lst_A = input().split()

print(lst_A)

lst_A.sort()

ans = int(lst_A[2]) * 10 + int(lst_A[0]) + int(lst_A[1])

print(ans)

Submission status: Wrong Answer

Solution code:
ABC = [int(abc) for abc in input().split()]
ABC.sort()
print(ABC[0]*10 + ABC[1] + ABC[2])

Submission status: Wrong Answer

Solution code:
abc = list(map(int,input().split()))
abc.sort()
abc[2]*10+abc[1]+abc[0]

Submission status: Wrong Answer

Solution code:
lst = list(map(int, input().split()))
lst.sort(reverse=True)
n = lst[0] * 10 + lst[1] + lst[2]
n

Submission status: Wrong Answer

Solution code:
n = list(input().split())

ab_c = int(''.join(n[:2])) + int(n[2])
a_bc = int(''.join(n[1:])) + int(n[0])

print(max(ab_c, a_bc))

Submission status: Wrong Answer

Solution code:
n = []
a,b,c = map(int,input().split(" "))
n.append(a)
n.append(b)
n.append(c)
print(int(str(n[0])+str(n[1]))+n[2])

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
a, b, c = sorted([a, b, c])
print(c * 10 + b + c)

Submission status: Wrong Answer

Solution code:
l = list(map(int, input().split()))
l.sort(reverse=True)
print(sum(l[0:2]) + l[2])

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print(max(10*a+b+c, a+10*b+c))

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
list = [a,b,c]
list1 = sorted(list)
d = list1[-1] + list1[-2]
num = int(d) + int(list1[0])
print(num)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())

if (a>b) and (a>c):
    ans = 10*a+b+c
elif (b>a) and (b>c):
    ans = 10*b+a+c
else:
    ans = 10*c+a+b
print(ans)

Submission status: Wrong Answer

Solution code:
A,B,C=list(map(int,input().split()))
print(10*max(B,C)+min(B,C)+A)

Submission status: Wrong Answer

Solution code:
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
ls = [int(c) for c in input().split()]
ls.sort()
ans = ls[0]*10 + ls[1] + ls[2]
print(ans)

Submission status: Wrong Answer

Solution code:
a, b, c = input().split()
print(max(int(a+b) + int(c), int(a) + int(b+c)))

Submission status: Wrong Answer

Solution code:
import functools
import math

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper


a  = sorted(inl())
print(a[1] + a[2])

Submission status: Wrong Answer

Solution code:
A = [int(i) for i in input().split()]
A.sort()
print(10*A[0] + A[1] + A[2])

Submission status: Wrong Answer

Solution code:
A = [str(i) for i in input().split()]
A.sort()
A.insert(2, '+')
print(eval(''.join(A)))

Submission status: Wrong Answer

Solution code:
A = [str(i) for i in input().split()]
A.insert(1, '+')
a = eval(''.join(A))
A.pop(1)
A.insert(2, '+')
b = eval(''.join(A))
print(max(a, b))

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
if a == max(a, b, ):
  print(a*10+b+c)
elif b == max(a, b, c):
  print(a+b*10+c)
else:
  print(a+b+c*10)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())

if a>b and a>c :
    print(int(str(a)+str(b))+int(c))
elif b>a and b>c :
    print(int(str(b)+str(a))+int(c))
else:
    print(int(str(c)+str(a))+int(b))

Submission status: Wrong Answer

Solution code:
N = [i for i in input().split()]
N.reverse()
print(int(N[0] + N[1]) + int(N[2]))

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
a.sort()
print(10*a[0]+a[1]+a[2])

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python

def main():
    A, B, C = [int(x) for x in input().split()]
    sum_1 = A + B * 10 + C 
    sum_2 = 10 * A + B + C
    print(sum_1) if sum_1 >= sum_2 else print(sum_2)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())

if a<b:
  print(a+(b*10+c))
else:
  print((a*10+b)+c)

Submission status: Wrong Answer

Solution code:
a, b, c = reversed(input().split())
ans = eval(a + b) + int(c)
print(ans)

Submission status: Wrong Answer

Solution code:
a, b, c = reversed(input().split())
ans = max(eval(a + b) + int(c), int(a) + eval(b + c))
print(ans)

Submission status: Wrong Answer

Solution code:
A, B, C = list(map(int, input().split()))

if A >= B and A >= C:
    print(A*10 + B + C)
elif B >= A and B >= C:
    print(B*10 + A + C)
else:
    print(C*10 + A + C)

Submission status: Wrong Answer

Solution code:
A, B, C = list(map(int, input().split()))

if A >= B and A >= C:
    print(A*10 + B + C)
elif B >= A and B >= C:
    print(B*10 + B + C)
else:
    print(C*10 + A + C)

Submission status: Wrong Answer

Solution code:
a,b,c = sorted(map(int,input().split()))
print(10*a + b+c)

Submission status: Wrong Answer

Solution code:
c=list(map(int, input().split()))  #リスト入力

from itertools import permutations, combinations,combinations_with_replacement,product
a=[2,4,7]
c = list(permutations(a))
#print(c)

i = c[0]
first = int(str(i[0])+str(i[1]))
#print(first)
x = first+i[2]
#print(x)

maxnum = 0
for i in c:
    first = int(str(i[0])+str(i[1]))
    after = i[2]
    x = first + after

    if x > maxnum:
        maxnum = x

print(maxnum)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())

ans = []

ans.append(10*a+b+c)
ans.append(10*b+a+c)
ans.append(10*c+b+c)

print(max(ans))

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print(max([10 * a + b + c, a + 10 * b + c]))

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
print(max(10*a+(b+c),10*b+(a+c),10*c+(a+c)))

Submission status: Wrong Answer

Solution code:
number=[int(i) for i in input().split()]
number.sort()
int(str(number[2])+str(number[1]))+number[0]

Submission status: Wrong Answer

Solution code:
A, B, C = input().split()
if int(A + B) > int(B + C):
    print(int(A + B) + int(C))
else:
    print(int(A) + int(B + C))

Submission status: Wrong Answer

Solution code:
a,b,c=sorted(map(int, input().split()))
print(c*10+b+c)

Submission status: Wrong Answer

Solution code:
a,b,c=input().split()
if int(a+b)>int(b+c):
  print(int(a+b)+int(c))
else:
  print(int(a)+int(b+c))

Submission status: Wrong Answer

Solution code:
x = sorted(int(a) for a in input().split(' '))
print(x[0] * 10 + x[1] + x[2])

Submission status: Wrong Answer

Solution code:
A,B,C=map(int,input().split())
if A>B and A>C:
    print(10*A+B+C)
elif B>A and B>C:
    print(10*B+A+C)
else:
    print(10*C+A+B)

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
a=input().split(" ")
a.sort()
print(int(a[0])*10+int(a[1])+int(a[2]))

Submission status: Wrong Answer

Solution code:
str = input().split(" ")
str.sort()
print(int(str[0] + str[1]) + int(str[2]))

Submission status: Wrong Answer

Solution code:
A = list(map(int, input().split()))
A.sort(reverse=True)
print(A)
print(A[0]*10+A[1]+A[2])

Submission status: Wrong Answer

Solution code:
A = list(map(int, input().split()))
A.sort()
print(A[0]*10+A[1]+A[2])

Submission status: Wrong Answer

Solution code:
s = list(map(int, input().split()))
s.sort()
print((s[2] * 10 + s[1]) + s[1])

Submission status: Wrong Answer

Solution code:
A,B,C=map(int,input().split())
print(max([A*10+B+C,A+B*10+C]))

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split());print(max(a,b,c)*9+a,b,c)

Submission status: Wrong Answer

Solution code:
from sys import stdin
a,b,c=[x for x in stdin.readline().rstrip().split()]
print(max(int(a)+int(b+c),int(a+b)+int(c)))

Submission status: Wrong Answer

Solution code:
A,B,C = map(str,input().split(" "))
print(max([ int(A+B)+int(C) , int(A+C)+int(B) , int(B+C)+int(A)]))

Submission status: Wrong Answer

Solution code:
n = list(map(int, input().split()))

nmax = max(n)
n.remove(nmax)
ans = max(n) * 10 + sum(n) 
print(ans)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int,input().split())
print(max(a*10+b+c, a+b*10+c))

Submission status: Wrong Answer

Solution code:
from sys import stdin
a, b, c = [int(i) for i in stdin.readline().rstrip().split()]
if 10 * a + b + c > a + 10 * b + c:
    print(10 * a + b + c)
else:
    print(a + 10 * b + c)

Submission status: Wrong Answer

Solution code:
s = sorted(list(map(int, input().split())))
print(s[0]*10+s[1]+s[2])

Submission status: Wrong Answer

Solution code:
# https://atcoder.jp/contests/abc110/tasks/abc110_a

A, B, C = map(int, input().split())

print(max(10*A + B + C, A + 10 * B + C))

Submission status: Wrong Answer

Solution code:
A = list(map(int, input().split()))
A.sort()
print(int(A[2] + A[1]) + int(A[0]))

Submission status: Wrong Answer

Solution code:
a,b,c=[int(i) for i in input().split()]
num=[a,b,c]
num.sort()
print(num[0]+int(str(num[1])+str(num[2])))

Submission status: Wrong Answer

Solution code:
a, b, c = map(int,input().split())

if a*10+b > b*10+c:
  print(a*10+b+c)
elif a*10+b <= b*10+c:
  print(a+b*10+c)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int,input().split())

if a*10+b > b*10+c:
  print(int(a*10+b+c))
else:
  print(int(a+b*10+c))

Submission status: Wrong Answer

Solution code:
a, b, c = map(int,input().split())

if a*10+b > b*10+c:
  print(a*10+b+c)
else:
  print(a+b*10+c)

Submission status: Wrong Answer

Solution code:
a,b,c=[int(x) for x in input().split()]
print(max(a,b,c)*10+a+b+c-min(a,b,c))

Submission status: Wrong Answer

Solution code:
A,B,C=map(int,input().split())
if A>B and A>C:
    print(10*A+B+C)
elif B>A and B>C:
    print(A+10*B+C)
else:
    print(A+B+10*C)

Submission status: Wrong Answer

Solution code:
n = input().replace(' ', '')
min_idx = 1
max_idx = len(n) - 1

sum_results = []
for i in range(min_idx, max_idx):
    n_inserted = n[:i] + '+' + n[i:]
    sum_results.append(eval(n_inserted))

print(max(sum_results))

Submission status: Wrong Answer

Solution code:
x,y,z = input().split()
x=int(x) 
y=int(y)
z=int(z)
if (x>=y and x>=z):
    print(10*x + y + z)
    if (x<y and y>=z):
        print(x+10*y+z)
        if (x<z and y<z):
            print(x+y+10*z)

Submission status: Wrong Answer

Solution code:
A = list(map(int, input().split()))
A.sort()
print(A)
print(10 * A[2] + A[0] + A[1])

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
m = 0
m = max(m,a*10+b+c)
m = max(m,b*10+a+c)
m = max(m,c*10+a+c)
print(m)

Submission status: Wrong Answer

Solution code:
n = list(map(int, input().split()))
n.sort()
print(n[0]*10 + n[1] + n[2])

Submission status: Wrong Answer

Solution code:
M = list(map(int, input().split()))
print(M[2]*10+M[1]+M[0])

Submission status: Wrong Answer

Solution code:
A,B,C = map(int, input().split())
L = sorted([A,B,C])
print(10*L[0]+L[1]+L[2])

Submission status: Wrong Answer

Solution code:
l = sorted(list(map(int, input().split())))
print(l[0] * 10 + l[1] + l[2])

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split()))
a.sort
print(a[2]*10+a[1]+a[0])

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-


def main():
    """Function."""
    a, b, c = map(int, input().split())
    print(max([a+b, a+c, b+c]))


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
A,B,C=map(int,input().split())
L=sorted([A,B,C])
print(int(str(L[0])+str(L[1]))+L[2])

Submission status: Wrong Answer

Solution code:
a,b,c = list(map(int,input().split()))

s = a*10+b
t = b*10+c

if s > t :
    print(s+c)
else:
    print(t+a)

Submission status: Wrong Answer

Solution code:
s = raw_input()
a,b,c = map(int, s.split(" "))
l=[1,2,2]
l.sort(reverse=True)
m = l[0] * 10 + l[1] + l[2]
print m

Submission status: Wrong Answer

Solution code:
num = map(int , raw_input().split(" "))

snum = sorted(num)

print snum[0]*10 + snum[1]+ snum[2]

Submission status: Wrong Answer

Solution code:
ABC = list(map(int, input().split())) 
A = ABC[0]
B = ABC[1]
C = ABC[2]
print(max(A * 10 + B + C, A + B * 10 + C))

Submission status: Wrong Answer

Solution code:
a, b, c = input().split()

print(max(int(a+b)+int(c), int(a)+int(b+c), int(a+c)+int(b)))

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
x =a*10 + b +c
y = b*10+ c + a
print([x, y][x < y])

Submission status: Wrong Answer

Solution code:
l=list(map(int,input().split()))
l=sorted(l)
print(l[0]*10+l[1]+l[2])

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())

s1 = 10 * a + b + c
s2 = a + 10 * b + c

print(max(s1, s2))

Submission status: Wrong Answer

Solution code:
N = input().split()
N.sort()
print(N)

N1 = N[2] + N[1]
Nmax = int(N1) + int(N[0])
print(str(Nmax))

Submission status: Wrong Answer

Solution code:
N = input().split()
N.sort()
print(N)

Nmax = N[2] + N[1]
print(int(Nmax) + int(N[0]))

Submission status: Wrong Answer

Solution code:
a,b,c = sorted(list(map(int, input().split())))
print(a*10+b+c)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())
print(max(a*10+b+c, a+b*10+c))

Submission status: Wrong Answer

Solution code:
a,b,c=list(map(int,input().split()))
print(max(10*a+b+c, a+10*b+c))

Submission status: Wrong Answer

Solution code:
a,b,c=input().split();print(max(eval(a+b+'+'+c),eval(a+'+'+b+c)))

Submission status: Wrong Answer

Solution code:
a = input().split()
a.sort
print(int(a[2]+a[1]) + int(a[0]))

Submission status: Wrong Answer

Solution code:
#A問題
A,B,C=input().split(' ')
#input() 入力を受け付ける
#split() 空白区切り

A=int(A)
B=int(B)
C=int(C)
numberList=[A,B,C]

numberList.sort(reverse=True)

numberList[0]*10+numberList[1]+numberList[2]

Submission status: Wrong Answer

Solution code:
a = list(int(i) for i in input().split())
a.sort()
print(10*a[0]+a[1] + a[2])

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
if a*10+b>b*10+c:
  print(a*10+b+c)
else:
  print(b*10+c+a)

Submission status: Wrong Answer

Solution code:
n = list(map(int, input().split()))
n.sort(reverse=True)
n2 = n[1] + n[2]

print("{}{}".format(n[0],n2))

Submission status: Wrong Answer

Solution code:
x=list(map(int,input().split()))
print(x)
x.sort()
print(int(str(x[-1])+str(x[1]))+x[0])

Submission status: Wrong Answer

Solution code:
ns = input().split()

def bSort(a):
    for i in range(len(a)):
        for j in range(len(a)-1, i, -1):
            if a[j] < a[j-1]:
                a[j], a[j-1] = a[j-1], a[j]

    return a

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
print(max(a,b,c)*9+a+b+c-min(a,b,c))

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
print(max(a+b,b+c,c+a))

Submission status: Wrong Answer

Solution code:
LX = list(input().split(" "))
print(LX)
LX.sort(reverse=True)
print(LX)
print(int(LX[0]+LX[1])+int(LX[2]))

Submission status: Wrong Answer

Solution code:
l = [int(i) for i in input().split()]
l.sort
print(l[0]*10 + l[1] + l[2])

Submission status: Wrong Answer

Solution code:
from sys import stdin

#a = int(input())
#b = int(input())
#c = int(input())

a,b,c = [int(x) for x in stdin.readline().rstrip().split()]


ab_c = 10 * a + b + b
#ac_b = 10 * a + c + b
ba_c = 10 * b + a + c
#bc_a = 10 * b + c + a
ca_b = 10 * c + a + b
#cb_c = 10 * c + b + b

ret = max(ab_c, ba_c, ca_b)

print(ret)

Submission status: Wrong Answer

Solution code:
n = list(map(int,input().split()))
n.sort()
n.reverse()
print(n)
print(n[0] * 10 + n[1] + n[2])

Submission status: Wrong Answer

Solution code:
n = list(map(int,input().split()))
n.reverse()
print(n[0] * 10 + n[1] + n[2])

Submission status: Wrong Answer

Solution code:
l = sorted(list(map(int, input().split())))
print(l[0] + int(str(l[1]) + str(l[2])))

Submission status: Wrong Answer

Solution code:
n = input()
n = n.split()
list = []

for i in n:
    list.append(i)

    a = list[0]
b = list[1]
c = list[2]

ab = (str(a)+str(b))
bc = (str(b)+str(c))

ab_c =(int(ab)+int(c))
a_bc =(int(a)+int(bc))

if ab_c >= a_bc:
    print(ab_c)
elif  ab_c <= a_bc:
    print(a_bc)

Submission status: Wrong Answer

Solution code:
s=list(map(int,input().split()))
print(max((s[0]+10*s[1]+s[2]), (10*s[0]+s[1]+s[2])))

Submission status: Wrong Answer

Solution code:
n = input()
n = n.split()

list = []

for i in n:
#    i = int(i)
    list.append(i)

a = list[0]
b = list[1]
c = list[2]

ab = (str(a)+str(b))
bc = (str(b)+str(c))

ab_c =(int(ab)+int(c))
a_bc =(int(a)+int(bc))

if ab_c >= a_bc:
    print(ab_c)
elif  ab_c <= a_bc:
    print(a_bc)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
print(max(sum([a*10,b,c]),sum([a,b*10,c])))

Submission status: Wrong Answer

Solution code:
input_list = [int(i) for i in input().split()]

result = [10*input_list[0] + input_list[1] + input_list[2], input_list[0] + 10*input_list[1] + input_list[2]]

print(max(result))

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
l = [a,b,c]
l[a<b] = l[a<b]*10
print(sum(l))

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
print(max(10*a+b+c,a+10*b+c))

Submission status: Wrong Answer

Solution code:
pass

Submission status: Wrong Answer

Solution code:
L=sorted(map(int,input().split()))
print(L[0]*9+sum(L))

Submission status: Wrong Answer

Solution code:
a = list(map(int, input().split()))
max(a) * 9 + sum(a)

Submission status: Wrong Answer

Solution code:
A, B, C = list(map(int, input().split()))
if (A > B) and (A > C):
    result = A*10 + B + C
elif (B > C) and (B > A):
    result = A + B*10 + C
else:
    result = A + B + C*10
print (result)

Submission status: Wrong Answer

Solution code:
A, B, C = list(map(int, input().split()))
if ((A > B) and (A > C)):
    print ((A * 10) + B + C)
elif ((B > C) and (B > A)):
    print (A + (B * 10) + C)
else:
    print (A + B + (C * 10))

Submission status: Wrong Answer

Solution code:
A, B, C = list(map(int, input().split()))
if ((A > B) and (A > C)):
    print (A*10 + B + C)
elif ((B > C) and (B > A)):
    print (A + B*10 + C)
else:
    print (A + B + C*10)

Submission status: Wrong Answer

Solution code:
import numpy as np
 
inp = np.asarray(input().split(), dtype=int)
inp = np.sort(inp)
print(inp[2]*10+np.sum(inp[:1]))

Submission status: Wrong Answer

Solution code:
import sys

# 関数 solve は，もちろん，問題に応じて書き換える
def solve(a,b,c):
    g=a+(b*10+c)
    print(g)

# ここから下は，入力・出力形式が同じであれば，変えなくて良い．
def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b, str_c] = line.split(' ')
    return (int(str_a), int(str_b), int(str_c))

def main():
    a, b, c = readQuestion()
    answer = solve(a, b, c)
    print(answer)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def maxValue():
    inputNum = input('')
    inputNum = inputNum.replace(" ", "");
    valueList = []
    for i in inputNum:
        valueList.append(i)
    maxValue = 0
    a = valueList[0]
    b = valueList[1]
    c = valueList[2]
    maxValue = max(a,b,c)
    if maxValue == a:
        return int(maxValue) * 10 + int(b) + int(c)
    elif maxValue == b:
        return int(maxValue) * 10 + int(a) + int(c)
    else:
        return int(maxValue) * 10 + int(a) + int(b)

Submission status: Wrong Answer

Solution code:
import itertools

n = list(map(str, raw_input().split()))
n.append('+')
nc = list(itertools.permutations(n))
ncc = []
vn = []
print(nc)
for _ in nc:
    if _[0] != '+' and _[3] != '+':
        ncc.append(_)
for __ in ncc:
    v = eval(('').join(__))
    vn.append(v)
print(max(vn))

Submission status: Wrong Answer

Solution code:
a,b,c = tuple(map(int, input().split()))
print(max(10*a+b+c, a+10*b+c))

Submission status: Wrong Answer

Solution code:
a, b, c = input()[::2]

print(max(int(a+b)+int(c), int(a)+int(b+c)))

Submission status: Wrong Answer

Solution code:
a, b, c = input().split(" ")

print(max(int(a+b)+int(c), int(a)+int(b+c)))

Submission status: Wrong Answer

Solution code:
#110a
a,b,c=map(int,input().split())
ans=(max(a,b,c)*9 + a+b+c)

Submission status: Wrong Answer

Solution code:
#110a
a=list(map(int,input().split()))
sorted(a)
ans=str(a[0])+str(a[1])
temp=str(a[0])+str(a[2])
print(max(int(ans)+a[2],int(temp)+a[1]))

Submission status: Wrong Answer

Solution code:
#110a
a=list(map(int,input().split()))
sorted(a)
ans=str(a[0])+str(a[1])
print(int(ans)+a[2])

Submission status: Wrong Answer

Solution code:
#110a
a=list(map(int,input().split()))
sorted(a)
print(a)
ans=str(a[0])+str(a[1])
print(int(ans)+a[2])

Submission status: Wrong Answer

Solution code:
arr = [int(i) for i in input().split()]

arr.sort()

[a, b, c] = arr
print(c * 10 + b + c)

Submission status: Wrong Answer

Solution code:
a=map(int, raw_input().split())

def b(c, t):
    if t==1:
        return 1
    else:
        cc=0
        for i in range(c):
            if c%(i+1)==0:
                cc += b(c/(i+1),t-1)
        return cc

print b(a[1], a[0])

Submission status: Wrong Answer

Solution code:
a, b, c = input().split()

m = max(a+10*b+c, a+10*c+b)
m = max(m, 10*a+b+c)
print(m)

Submission status: Wrong Answer

Solution code:
from math import factorial

nm = input().split()
n = int(nm[0])
m = int(nm[1])

f = []

i = 2
j = 0
while (m > 1) and i<=m:
    while m%i == 0:
        m /= i
        j += 1
    if j >= 1:
        f.append(j)
    i += 1
    j = 0

        
ans = 1

for k in f:
    if k > 0:
        ans *= factorial(n+k-1) // (factorial(k) * factorial(n-1))
    
print(int(ans) % (10**9+7))

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python

A, B, C = map(int, input().split()) 
res = 10 * A + B + C
if A + 10 * B + C > res:
    res = A + 10 * B + C
    if A + B + 10 * C > res:
        res = A + B + 10 * C

print(res)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print(max([10*a + b + c, 10*b + c + a]))

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print(max([10*a + b, 10*b + c]))

Submission status: Wrong Answer

Solution code:
#coding: utf-8
l=list(map(int,input().split()))
l.sort()
A=l[0]
B=l[1]
C=l[2]
print(10*A+B+C)

Submission status: Wrong Answer

Solution code:
A,B,C = map(int,input().split())
L = [A, B, C]
L.sort()
print(A + B + 10 * C)

Submission status: Wrong Answer

Solution code:
L=input().split()
L.sort()
X=10*L[2]+L[1]+L[0]
print(X)

Submission status: Wrong Answer

Solution code:
input_data = [int(i) for i in input().split(" ")]

ans = 0
for k1, v1 in enumerate(input_data):
    for k2, v2 in enumerate(input_data):
        for k3, v3 in enumerate(input_data):
            if k1 == k2 or k2 == k3 or k3 == k1:
                continue
            kou1 = int(v1 + v2)
            if ans < kou1 + v3:
                ans = kou1 + v3
print(ans)

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
print(max(10*a+b+c,a+10*b+c))

Submission status: Wrong Answer

Solution code:
import numpy as np,math,itertools
 
a=list(map(int,input().split()))
b=a[1]
c=a[2]
d=a[0]
print(max([10*d+b+c,d+10*b+c]))

Submission status: Wrong Answer

Solution code:
data = input().split()
print(int(sorted(data)[2]) + int(sorted(data)[1]))

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
print(max(10*a+b+c,10*b+a+c))

Submission status: Wrong Answer

Solution code:
abc = list(map(int, input().split()))
a, b, c = sorted(abc)
print(10 * a + b + c)

Submission status: Wrong Answer

Solution code:
panels = input().split()
panels = [int(panel) for panel in panels]
panels = sorted(panels,reverse=True)

print(panels)

print(panels[0]*10+panels[1]+panels[2])

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

line = input().split( )
line = [int(s) for s in line]
a = max(line)
b = min(line)
count = 0
for i in line:
    if i == a or i == b:
        count += 1
        pass
    else:
        c = i
        break
if count == 3:
    c = min(line)
print((a * 10) + b + c)

Submission status: Wrong Answer

Solution code:
A, B, C = map(int, input().split())

p = [A, B, C]

p.sort()

print(int(str(p[1]) + str(p[2])) + p[0])

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())

if a >= b & a >= c:
    print(10 * a + b + c)
elif b >= a & b >= c: 
    print(10 * b + a + c)
else:
    print(10 * c + a + b)

Submission status: Wrong Answer

Solution code:
A, B, C = map(int,input().split())
if A>B:
  print(A*10 +B+C)
elif A<B:
  print(A+B*10+C)
else:
  print(A+B*10+C)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split(" "))

if 10 * a + b + c < a + 10 * b + c:
    print(a + 10 * b + c)    
else:
    print(10 * a + b + c)

Submission status: Wrong Answer

Solution code:
n = input().split()
n = sorted(n, reverse=True)

ans = int(n[0]+n[1]) + int(n[2])

Submission status: Wrong Answer

Solution code:
a=input()
b=a.split(" ")
b=[int(x) for x in b]
b.sort()
print(b)
print(int(str(b[2])+str(b[1]))+b[0])

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())
if a < b:
    print (a + b * 10 + c)
elif a == b and b > c:
    print (a + b * 10 + c)
else:
    print (a * 10 + b + c)