Problem:


Sorting Three Numbers

  Write a program which reads three integers, and prints them in ascending order.

Input

  Three integers separated by a single space are given in a line.

Output

  Print the given integers in ascending order in a line. Put a single space between two integers.

Constraints

  
 1 ≤ the three integers ≤ 10000

Sample Input 1

3 8 1

Sample Output 1

1 3 8



Sample input:
3 8 1


Sample output:
1 3 8

Submission status: Accepted

Solution code:
# 組み合わせる(その2)
numbers = list(map(int,input().split())) #入力
numbers.sort() # 中身の処理
print(' '.join(map(str, numbers))) # 出力

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
d=[]
d=[a,b,c]
d.sort()
e=map(str,d)
result=" ".join(e)
print(result)

Submission status: Accepted

Solution code:
lis = list(map(int, input().split()))
lis.sort()
print(' '.join(map(str, lis)))

Submission status: Accepted

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

if i[0] > i[1]:
    i[0], i[1] = i[1], i[0]
    
    
    if i[1] > i[2]:
        i[1], i[2] = i[2], i[1]
        
        if i[0] > i[1]:
            i[0], i[1] = i[1], i[0]
        
            
        
    
elif i[1] > i[2]:
    i[1], i[2] = i[2], i[1]
     
    if i[0] > i[1]:
        i[0], i[1] = i[1], i[0]
        
    
print (i[0], i[1], i[2] )

Submission status: Accepted

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

for i in range(2,0,-1):
    k = 0
    while k < i:
        if table[k] > table[k+1]:
            table[k],table[k+1] = table[k+1],table[k]
        k += 1;
        
print(table[0],table[1],table[2])

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
def change(a, b):
    if a > b:
        tmp = a
        a = b
        b = tmp
        return a, b
    else:
        return a,b

a,b = change(a,b)
b,c = change(b,c)
a,b = change(a,b)

print(a, b, c)

Submission status: Accepted

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

a = sorted(a)
print(a[0],a[1],a[2])

Submission status: Accepted

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

Submission status: Accepted

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

a.sort()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A = list(map(str, input().split()))
A.sort()
A=' '.join(A)
print(A)

Submission status: Accepted

Solution code:
a = list(map(int,input().split()))
a = sorted(a)
print(a[0],a[1],a[2])
#a_str = [str(n) for n in a]
#print(a_str[0]+" "+a_str[1]+" "+a.str[2])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l = list(map(int,input().split()))
l.sort()
print("{} {} {}".format(l[0],l[1],l[2]))

Submission status: Accepted

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

num.sort()
print(num[0],num[1],num[2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
if a>b and b>c:
            print(c,b,a)
if a<b and b<c or a==b and a<c or a<b and b==c:
            print(a,b,c)
if(c>a and a>b or a>b and a==c):
            print(b,a,c)
if(b>a and a>c or a==b and a>c):
            print(c,a,b)
if(b>c and c>a or a<b and a==c):
            print(a,c,b)
if(a>c and c>b or a>b and b==c):
            print(b,c,a)
if(a==b and b==c):
            print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

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

print(*ListA)

Submission status: Accepted

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

if a>b:
    d=a
    a=b
    b=d

if b>c:
    d=b
    b=c
    c=d

if a>b:
    d=a
    a=b
    b=d
    
print(a,b,c)

Submission status: Accepted

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

if a>b:
    x=a
    a=b
    b=x
    
if b>c:
    x=b
    b=c
    c=x

if a>b:
    x=a
    a=b
    b=x

print(a,b,c)

Submission status: Accepted

Solution code:
L = list(map(int,input().split()))
L.sort()
print(' '.join(map(str,L)))

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
if a>b:
    temp=a
    a=b;
    b=temp
if b>c:
    temp=b
    b=c
    c=temp
if a>b:
    temp=a
    a=b
    b=temp
print(a,b,c)

Submission status: Accepted

Solution code:
a, b, c=map(int,input().split())
if a>b:
    temp=a
    a=b;
    b=temp
if b>c:
    temp=b
    b=c;
    c=temp
if a>b:
    temp=a
    a=b
    b=temp
print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
if a>b:
    X=a
    a=b;
    b=X
if b>c:
    X=b
    b=c
    c=X
if a>b:
    X=a
    a=b
    b=X
print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
if a>b:
    temp=a
    a=b;
    b=temp
if b>c:
    temp=b
    b=c;
    c=temp
if a>b:
    temp=a
    a=b
    b=temp
print(a, b, c)

Submission status: Accepted

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

if a>b:
  temp=a
  a=b
  b=temp
if b>c:
  temp=b
  b=c
  c=temp
if a>b:
  temp=a
  a=b
  b=temp
print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
if a <= b <= c:
    print (str(a)+" "+str(b)+" "+str(c))
elif a <= c <= b:
    print (str(a)+" "+str(c)+" "+str(b))
elif b <= a <= c:
    print (str(b)+" "+str(a)+" "+str(c))
elif b <= c <= a:
    print (str(b)+" "+str(c)+" "+str(a))
elif c <= a <= b:
    print (str(c)+" "+str(a)+" "+str(b))
else:
    print (str(c)+" "+str(b)+" "+str(a))

Submission status: Accepted

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

Submission status: Accepted

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

if a>b:
    temp=a
    a=b
    b=temp

if b>c:
    temp=b
    b=c
    c=temp
    
if a>b:
    temp=a
    a=b
    b=temp
    
print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

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

if b>c:
    temp=b
    b=c
    c=temp

if a>b:
    temp=a
    a=b
    b=temp

print(a,b,c)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
if a>=b:
    temp=a
    a=b
    b=temp
if b>=c:
    temp2=b
    b=c
    c=temp2
if a>=b:
    temp3=b
    b=a
    a=temp3
print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if a>b:
    temp=a
    a=b
    b=temp

if b>c:
    temp1=b
    b=c
    c=temp1

if a>b:
    temp2=a
    a=b
    b=temp2

print(a,b,c)

Submission status: Accepted

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

if a>b:
    temp=a
    a=b
    b=temp
if b>c:
    temp=b
    b=c
    c=temp
if a>b:
    temp=a
    a=b
    b=temp
print(a,b,c)

Submission status: Accepted

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

if b>c:
    temp=b
    b=c
    c=temp

if a>b:
    temp=a
    a=b
    b=temp
    
print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
v = list(map(int, input().split()))
if v[0] > v[1]:
    v[0], v[1] = v[1], v[0]
if v[1] > v[2]:
    v[1], v[2] = v[2], v[1]
if v[0] > v[1]:
    v[0], v[1] = v[1], v[0]
a, b, c = v
print(a, b, c)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
if a>b:
    d=b
    e=a
    f=c
else:
    d=a
    e=b
    f=c

if e>f:
    g=d
    h=f
    i=e
else:
    g=d
    h=e
    i=f
    
if g>h:
    j=h
    k=g
    l=i
else:
    j=g
    k=h
    l=i
    
print(str(j)+" "+str(k)+" "+str(l))

Submission status: Accepted

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

Submission status: Accepted

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

if x[0] > x[1]:
    x[0],x[1]=x[1],x[0]

if x[1]>x[2]:
    x[1],x[2]= x[2],x[1]
if x[0]>x[1]:
    x[0],x[1]= x[1],x[0]

print(*x)

Submission status: Accepted

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

Tnum.sort()
print(*Tnum)

Submission status: Accepted

Solution code:
a,b,c=map(int, input().split())
if a<=b<=c:
     print(str(a)+" "+str(b)+" "+str(c))
elif a<=c<=b:
     print(str(a)+" "+str(c)+" "+str(b))
elif b<=a<=c:
     print(str(b)+" "+str(a)+" "+str(c))
elif b<=c<=a:
     print(str(b)+" "+str(c)+" "+str(a))
elif c<=b<=a:
     print(str(c)+" "+str(b)+" "+str(a))
else:
     print(str(c)+" "+str(a)+" "+str(b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    abc_list=[]
    abc_list=input().split()
    abc_list=sorted(abc_list)
    print(*abc_list)

if __name__=="__main__":
    main()

Submission status: Accepted

Solution code:
list_num = [num for num in input().split()]

list_num.sort()

print(list_num[0],list_num[1],list_num[2])

Submission status: Accepted

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

Submission status: Accepted

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

if a>b:
  x = a 
  a = b
  b = x

if b>c:
  y = c
  c = b
  b = y

if a>b:
  z = a 
  a = b
  b = z

print(a, b, c)

Submission status: Accepted

Solution code:
# sample input 3 8 1
# sample output 1 3 8
num_list = list(map(int, input().split()))
num_list.sort()
print(*num_list)

Submission status: Accepted

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

x = min(min(a,b),c)
z = max(max(a,b),c)
y = a+b+c-x-z
print(str(x)+' '+str(y)+' '+str(z))

Submission status: Accepted

Solution code:
three_numbers=list(map(int,input().split()))
print(*sorted(three_numbers))

Submission status: Accepted

Solution code:
li = input().split()
li.sort()
print(" ".join(li))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=list(map(int,input().split(" ")))
print(" ".join(list(map(str,sorted(a)))))

Submission status: Accepted

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

l = [a, b, c]
l.sort()

print(*l)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(*sorted([int(_) for _ in input().split()]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(*sorted([int(n) for n in input().split()]))

Submission status: Accepted

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

Submission status: Accepted

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

if l[0] > l[1]:
    a = l[0]; l[0] = l[1]; l[1] = a

if l[1] > l[2]:
    a = l[1]; l[1] = l[2]; l[2] = a
if l[0] > l[1]:
    a = l[0]; l[0] = l[1]; l[1] = a

print(l[0], l[1], l[2])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = list(map(int,input().split()))
y = sorted(x)
print(*y)

Submission status: Accepted

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

if a>b:
    b,a=a,b
if b>c:
    c,b=b,c
if a>b:
    b,a=a,b

print(a,b,c)

Submission status: Accepted

Solution code:
n = list(map(int, input().split()))
print("{} {} {}".format(sorted(n)[0], sorted(n)[1], sorted(n)[2]))

Submission status: Accepted

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

Submission status: Accepted

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

if a<b :
    if b<c :
        print(a,b,c)
    elif c<a :
            print(c,a,b)
    else:
            print(a,c,b)
else:
    if a<c :
        print(b,a,c)
    elif c<b :
        print(c,b,a)
    else:
        print(b,c,a)

Submission status: Accepted

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

Submission status: Accepted

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

if a > b:
    a, b = b, a
if b > c:
    b, c = c, b
if a > b:
    a, b = b, a
    
    
print (a , b , c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if a<b:
    if b<c:
        print(a,b,c)
    else:
     	print(a,c,b)
elif b<c:
    if c<a:
	    print(b,c,a)
    else:
	    print(b,a,c)
elif c<a:
    if a<b:
    	print(c,a,b)
    else:
	    print(c,b,a)

Submission status: Accepted

Solution code:
a = list(input().split())
b = sorted(a)
print('{} {} {}'.format(b[0],b[1],b[2]))

Submission status: Accepted

Solution code:
array = list(map(int, input().split()))
#pythonなら.sort()も用意されてるんやで
array.sort()
#for i in range(1,len(array)):
#  if array[i-1] > array[i]:
#    temp = array[i]
#    array[i] = array[i-1]
#    array[i-1] = temp
print(array[0], array[1], array[2])

Submission status: Accepted

Solution code:
ns=list(map(int,input().split()))
ns.sort()
print(*ns)

Submission status: Accepted

Solution code:
l = list(map(str, input().split()))
l.sort()
print(' '.join(l))

Submission status: Accepted

Solution code:
li = list(map(int,input().split()))	
li=sorted(li)
print(*li)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
if a<b:
	e=a
	a=b
	b=e
if a<c:
	print(str(b)+" "+str(a)+" "+str(c))
else:
	if b<c:
		print(str(b)+" "+str(c)+" "+str(a))
	else:
		print(str(c)+" "+str(b)+" "+str(a))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if a > b:
    a,b = b,a
if b > c:
    b,c = c,b
if a > b:
    a,b = b,a

print("{} {} {}".format(a,b,c))

Submission status: Accepted

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

print(" ".join(map(str, sorted(int_list))))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys


def I(): return int(sys.stdin.readline().rstrip())


def LI(): return list(map(int, sys.stdin.readline().rstrip().split()))


def S(): return sys.stdin.readline().rstrip()


def LS(): return list(sys.stdin.readline().rstrip().split())


a = LI()
a.sort()

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

Submission status: Accepted

Solution code:
i = input().split()
a = int(i[0])
b = int(i[1])
c = int(i[2])
if a <= b <= c:
    print(a,b,c)
elif a <= c <= b:
    print(a,c,b)
elif b <= a <= c:
    print(b,a,c)
elif b <= c <= a:
    print(b,c,a)
elif c <= a <= b:
    print(c,a,b)
elif c <= b <= a:
    print(c,b,a)

Submission status: Accepted

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

Submission status: Accepted

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

abc.sort()
abc = [str(i) for i in abc]
L=' '.join(abc)
print(L)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l = list(map(int,input().split()))
l.sort()
print(*l)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
A=min(a,min(b,c))
B=max(a,max(b,c))
C=a+b+c-A-B

print(A,C,B)

Submission status: Accepted

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

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

if b>a:
    a,b = b,a
if c>b:
    b,c = c,b
if b>a:
    a,b = b,a
print(c,b,a)

Submission status: Accepted

Solution code:
print(' '.join(map(str, sorted(map(int, input().split())))))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

i.sort()
l = [str(a) for a in i]
l = " ".join(l)

print(l)

Submission status: Accepted

Solution code:
line = input()
l = [int(x) for x in line.split()]
a = min(l)
l.remove(a)
b = min(l)
l.remove(b)
c = l[0]
print(a, b, c)

Submission status: Accepted

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

if num[0]>num[1]:
    num[0], num[1] = num[1], num[0]

if num[1]>num[2]:
    num[1], num[2] = num[2], num[1]

if num[0]>num[1]:
    num[0], num[1] = num[1], num[0]

print(str(num[0])+' '+str(num[1])+' '+str(num[2]))

Submission status: Accepted

Solution code:
s = input().split(' ')
list = [int(s[0]), int(s[1]), int(s[2])]
newlist = []
for i in range(len(list)):
    mv = min(list)
    newlist.append(mv)
    list.remove(mv)

print('{0} {1} {2}'.format(newlist[0], newlist[1], newlist[2]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list_num = [int(_) for _ in input().split(" ")]
list_num_sorted = sorted(list_num, reverse=False)
print(*list_num_sorted)

Submission status: Accepted

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

n.sort()

print(n[0],n[1],n[2])

Submission status: Accepted

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

for i in range(2, 0, -1):
    k = 0
    while k < i:
        if table[k] > table[k + 1]:
            table[k], table[k + 1] = table[k + 1], table[k]
        k += 1

print(table[0], table[1], table[2])

Submission status: Accepted

Solution code:
array=[]
array+=list(map(int,input().split()))
array.sort()
print(f"{array[0]} {array[1]} {array[2]}")

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
ls = [a,b,c]
ls.sort()
print("{} {} {}".format(ls[0],ls[1],ls[2]))

Submission status: Accepted

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

sorted_nums = sorted(nums)

print(sorted_nums[0], sorted_nums[1], sorted_nums[2])

Submission status: Accepted

Solution code:
*A,=map(int,input().split())
A.sort()
print(*A)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = list(map(int,input().split()))
num.sort()
print(*num)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline

def main():
    s = list(map(int, input().split()))
    s.sort()
    
    print(str(s[0]) + " " + str(s[1]) + " " + str(s[2]))
    
if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
if a > b:
  tmp = a
  a = b
  b = tmp
if a > c:
  tmp = a
  a = c
  c = tmp
if b > c:
  tmp = b
  b = c
  c = tmp
print("{0} {1} {2}".format(a, b, c))

Submission status: Accepted

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


for i in range(2,0,-1):
    k = 0
    while k < i:
        if num[k] > num[k+1]:
             num[k],num[k+1] = num[k+1],num[k]
        k += 1;


for l in range (len(num)-1):
    print(num[l],end=" ")
    
print(num[len(num)-1])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = list(int(x) for x in input().split() )
x.sort()
for i in range(len(x)):
  if i == len(x)-1:
    print(x[i],end ="")
  else:
    print(x[i],end = " ")
print()

Submission status: Accepted

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

Submission status: Accepted

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


if a <= c and c <= b:
    print(a, c, b)
elif b <= a and a <= c:
    print(b, a, c)
elif b <= c and c <= a:
    print(b, c, a)
elif c <= a and a <= b:
    print(c, a, b)
elif c <= b and b <= a:
    print(c, b, a)
else:
    print(a, b, c)

Submission status: Accepted

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

if c < b:
    tmp = c
    c = b
    b = tmp
else:
    pass

if b < a:
    mtp = b
    b = a
    a = mtp
else:
    pass

if c < b:
    tmp = c
    c = b
    b = tmp
else:
    pass

print(a, b, c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if a<=b<=c:
    print(a,b,c)
elif a<=c<=b:
    print(a,c,b)
elif b<=a<=c:
    print(b,a,c)
elif b<=c<=a:
    print(b,c,a)
elif c<=a<=b:
    print(c,a,b)
else:
    print(c,b,a)

Submission status: Accepted

Solution code:
[a, b, c] = (int(x) for x in input().split())
y = sorted([a, b, c])
print(*y)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b, c=map(int, input().split())
mini=a
middle=b
maxi=c
if a< b :
    if c < a:
       mini= c
       middle=a
       maxi=b
    elif c< b:
        mini=a
        middle=c
        maxi=b
    else:
        mini=a
        middle=b
        maxi=c
else:
     if c < b:
       mini  =c
       middle=b
       maxi=a
     elif c< a:
        mini=b
        middle=c
        maxi=a
     else:
        mini=b
        middle=a
        maxi=c

print(mini, middle, maxi)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A = list(map(int, input().split()))
ans = sorted(A)
print(*ans)

Submission status: Accepted

Solution code:

i = [int(x) for x in input().split()]
i.sort()
print(i[0],i[1],i[2])

Submission status: Accepted

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

if a<=b and b<=c:
    print(a, b, c)
elif a<=b and b>c and a<=c:
    print(a, c, b)
elif a>b and b<=c and a<=c:
    print(b, a, c)
elif a>b and b<=c and a>c:
    print(b, c, a)
elif a<=b and b>c and a>c:
    print(c, a, b)
else:
    print(c, b, a)

Submission status: Accepted

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

print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
abc = input()
abc = map(int, abc.split())
abc = sorted(abc)

print(abc[0], abc[1], abc[2])

Submission status: Accepted

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

Submission status: Accepted

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

if a>b:
    a,b=b,a
if a>c:
    a,c=c,a
if b>c:
    b,c=c,b
    
print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if a <= b <= c:
    print(a, b, c)
elif a <= c <= b:
    print(a, c, b)
elif b <= a <= c:
    print(b, a, c)
elif b <= c <= a:
    print(b, c, a)
elif c <= a <= b:
    print(c, a, b)
elif c <= b <= a:
    print(c, b, a)

Submission status: Accepted

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

if a <= b and b <=c:
    print(a,b,c)
elif a <= c and c <= b:
    print(a,c,b)
elif b <= a and a <= c:
    print(b,a,c)
elif b <= c and c <= a:
    print(b,c,a)
elif c <= a and a <= b:
    print(c,a,b)
elif c <= b and b <= a:
    print(c,b,a)

Submission status: Accepted

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

if a <= b and b <= c:
    print (a, b, c)
elif a <= c and c <= b:
    print (a, c, b)
elif b <= a and a <= c:
    print (b, a, c)
elif b <= c and c <= a:
    print (b, c, a)
elif c <= a and a <= b:
    print (c, a, b)
elif c <= b and b <= a:
    print (c, b, a)

Submission status: Accepted

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

if a <= b <= c:
    print(a, b, c)
elif a <= c <= b:
    print(a, c, b)
elif b <= a <= c:
    print(b, a, c)
elif b <= c <= a:
    print(b, c, a)
elif c <= a <= b:
    print(c, a, b)
elif c <= b <= a:
    print(c, b, a)

Submission status: Accepted

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

if  a <= b <= c:
    print(a, b, c)
elif a <= c <= b:
    print(a, c, b)
elif b <= a <= c:
    print(b, a, c)
elif b <= c <= a:
    print(b, c, a)
elif c <= b <= a:
    print(c, b, a)
elif c <= a <= b:
    print(c, a, b)

Submission status: Accepted

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

if a <= b <= c:
    print(a , b , c)
    
elif a <= c <= b:
    print(a , c , b)

elif b <= a <= c:
    print(b , a , c)
    
elif b <= c <= a:
    print(b , c , a)
    
elif c <= a <= b:
    print(c , a , b)
    
elif c <= b <= a:
    print(c , b , a)