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

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

Solution (Python):
a,b,c=map(int,input().split())
d=min(a,b,c)
e=max(a,b,c)
if a!=d and a!=e:
    f=a
elif b!=d and b!=e:
    f=b
else:
    f=c
print(d,f,e)

Solution (Python):
i = input()
a, b, c = map(int, i.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)

Solution (Python):
num = list(map(int,input().split()))
num.sort()
for i in range(len(num)-1):
    print(num[i],end=' ')
print(num[len(num)-1])

Solution (Python):
A = list(map(int, input().split()))
A.sort()
print('{} {} {}'.format(A[0], A[1], A[2]))

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

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

Solution (Python):
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)

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

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

a.sort()

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

Solution (Python):
x_list = [int(i) for i in input().split()]
x_list.sort()
print(x_list[0], x_list[1], x_list[2])

Solution (Python):
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)

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

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

Solution (Python):
x=input().split()
y=list(map(int,x))
z=list(map(int,y))
a=y[0]
b=y[1]
c=y[2]
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)

Solution (Python):
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)

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

Solution (Python):
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)

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

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

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

Solution (Python):
a,b,c=(int(x) for x in 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)

Solution (Python):
l=list(map(int,input().split()))

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

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

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

Solution (Python):
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)

Solution (Python):
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
    else:
        pass
elif b>c:
    b,c=c,b
    if a>b:
        a,b=b,a
        
else:
    pass

print(f'{a} {b} {c}')

Solution (Python):
i=list(map(int,input().split()))
i.sort()
print(*i)

Solution (Python):
i = input().split()
i.sort()
print(i[0],i[1],i[2])

Solution (Python):
three_numbers=list(map(int,input().split()))
three_numbers.sort()
print(*three_numbers)

Solution (Python):
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)

Solution (Python):
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)

Solution (Python):
a, b, c = (int(x) for x in input().split())

x = a, b, c
new_x = sorted(x)



print(*new_x)

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

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

print(f"{a} {b} {c}")

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

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

if __name__ == "__main__":
    resolve()

Solution (Python):


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

Solution (Python):
a, b, c = sorted(input().split())
print(a,b,c)

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

a,b,c=sorted([a,b,c],reverse=True)

print(c,b,a)

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

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

Solution (Python):
a = list(map(int,input().split()))
a = sorted(a)
for i in range(3):
    if(i == 2):
        print(a[2])
    else:
        print(a[i],end = " ")

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

Solution (Python):
nums = [int(i) for i in input().split()]
ans = sorted(nums)
print(str(ans[0]) + " " + str(ans[1]) + " " + str(ans[2]))

Solution (Python):
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)

Solution (Python):
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)

Solution (Python):
a=list(map(int,input().split()))
sorted(a)
print(*sorted(a))

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

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

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

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

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

Solution (Python):



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)

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

Solution (Python):
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)

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

print(a,b,c)

Solution (Python):
threenumber=list(map(int,input().split()))
threenumber.sort()
print(*threenumber)

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

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






    
    
if b<a:
    if c<b:
        if c<a:
            print(c,end=" ")
            print(b,end=" ")
            print(a)

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

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

Solution (Python):
mun =list(map(int, input().split()))

mun.sort()

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

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

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

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

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

Solution (Python):
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])

Solution (Python):
list = sorted(map(int,raw_input().split()))
strlist = map(str,list)
print strlist[0] + ' ' + strlist[1] + ' ' + strlist[2]

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

x1 = min(a,b,c)
x2 = max(a,b,c)
x3 = (a+b+c)-x1-x2

print(x1,x3,x2)

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

for i in range(3):
    for j in range(2-i):
        if x[j]>x[j+1]:
            temp = x[j]
            x[j] = x[j+1]
            x[j+1] = temp

print(*x)

Solution (Python):
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])

Solution (Python):
l=list(map(int,input().split()))

L=sorted(l)

print(str(L[0])+" "+str(L[1])+" "+str(L[2]))

Solution (Python):
val = input()
arr = list(map(int,val.split()))
arr.sort()
print('{} {} {}'.format(arr[0],arr[1],arr[2]))

Solution (Python):
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)

Solution (Python):

a = list(map(int, input().split()))

if a[1] < a[0]:
    tmp = a[1]
    a[1] = a[0]
    a[0] = tmp

if a[2] < a[1]:
    tmp = a[2]
    a[2] = a[1]
    a[1] = tmp

if a[1] < a[0]:
    tmp = a[1]
    a[1] = a[0]
    a[0] = tmp
    
print(*a, sep=' ')

Solution (Python):
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)

Solution (Python):
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)

Solution (Python):
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)

Solution (Python):
i = list(map(int,input().split()))
print(*sorted(i))

Solution (Python):
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(f'{a} {b} {c}')

Solution (Python):
a,b,c=map(int,input().split())
if a>b:
    a,b=b,a
if b>c:
    c,b=b,c
if a>b:
    a,b=b,a
print(f"{a} {b} {c}")

Solution (Python):
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)

Solution (Python):



num =list(map(int,input().split()))

num.sort()

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

Solution (Python):
lines = [int(line) for line in input().split()]
print(" ".join(map(str, sorted(lines))))

Solution (Python):
x = list(map(str, input().split()))
print(" ".join(sorted(x)))

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

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



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

Solution (Python):
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)

Solution (Python):
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)

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

Solution (Python):
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(f'{a} {b} {c}')

Solution (Python):
a,b,c = map(int,input().split())
tmp = 0

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

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

Solution (Python):
a, b, c= (int(i) for i in input().split())
if a <= b and a <= c:
    if b <= c:
        print(a,b,c)
    else:
        print(a,c,b)
elif b <= a and b <= c:
    if a <= c:
        print(b,a,c)
    else:
        print(b,c,a)

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

Solution (Python):


a,b,c=map(int,input().split())
x=[a,b,c]
for  j in range(2,0,-1):
    for i in range(j):
        if x[i]>x[i+1]:
            x[i],x[i+1]=x[i+1],x[i]
print(x[0],x[1],x[2])

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

if int(list[0])>int(list[1]):
    list=[list[1],list[0],list[2]]
if int(list[1])>int(list[2]):
    list=[list[0],list[2],list[1]]
if int(list[0])>int(list[1]):
    list=[list[1],list[0],list[2]]

a,b,c=list

print(a,b,c)

Solution (Python):
a,b,c = map(int,input().split())
L=[a,b,c]
L.sort()
L = [str(i) for i in L]
s=' '.join(L)
print(s)

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

k=[a, b, c]

k.sort()
print(*k)

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

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

Solution (Python):
max=[]
a,b,c=raw_input().split()

max.append(a)
max.append(b)
max.append(c)

if(max[0]>max[1]):
    max[0]=b
    max[1]=a
if(max[1]>max[2]):
    d=max[1]
    max[1] = max[2]
    max[2] = d
if(max[0]>max[1]):
    e=max[0]
    max[0] = max[1]
    max[1] = e

print(max[0]+' '+max[1]+' '+max[2])

Solution (Python):
nums = list(map(int, input().split()))
nums.sort()
print(" ".join(map(str, nums)))

Solution (Python):
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)

Solution (Python):
a,b,c = map(int,input().split())
number = [a,b,c]
number.sort()
print(number[0],number[1],number[2])

Solution (Python):
a, b, c = (int(x) for x in input().split())
list = [a, b, c]

for i in range(2,0,-1):
    for j in range(i):
        if list[j]>list[j+1]:
            list[j], list[j+1] = list[j+1], list[j]
print(list[0],list[1],list[2])

Solution (Python):
a,b,c=map(int,input().split())
list1=[a,b,c]
list2=sorted(list1)

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

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

print(a,b,c)

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

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

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

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

Solution (Python):
a,b,c=map(int,input().split())
if a>=b>=c:
    print(f'{c} {b} {a}')
elif a>=c>=b:
    print(f'{b} {c} {a}')
elif b>=a>=c:
    print(f'{c} {a} {b}')
elif b>=c>=a:
    print(f'{a} {c} {b}')
elif c>=a>=b:
    print(f'{b} {a} {c}')
else:
    print(f'{a} {b} {c}')

Solution (Python):
print(' '.join([str(i) for i in sorted([int(arg) for arg in input().split()])]))

Solution (Python):
l = list(map(int, input().split()))

l.sort()

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

Solution (Python):
l = list(map(int, input().split()))
l.sort()

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

Solution (Python):
print(*sorted(input().split()))

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

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

Solution (Python):
i = list(map(int, input().split()))
i.sort()
print(*i)

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

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

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

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

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

Solution (Python):
inp = input().split()
abc = []    

for i in range(len(inp)):
    abc.append(int(inp[i]))    

ans = sorted(abc)
print('%d %d %d'%(ans[0],ans[1],ans[2]))

Solution (Python):
a = [int(i) for i in input().split()]
a.sort()
print(a[0] ,a[1] ,a[2])

Solution (Python):
Input = input().split()
Sort = sorted(Input)
a = int(Sort[0])
b = int(Sort[1])
c = int(Sort[2])
print(a,b,c)

Solution (Python):
def sort():
    li= list(map(int, input().split()))
    len_li = len(li)
    for i in range(len_li):
        for j in range(len_li-1):
            if li[j] > li[j+1]:
                li[j], li[j+1] = li[j+1], li[j]
    print(' '.join(map(str, li)))


if __name__ == "__main__":
    sort()

Solution (Python):
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)

Solution (Python):
import fileinput

a_b_c = list(map(int, input().split()))

a, b, c = sorted(a_b_c)

print(a, b, c)

Solution (Python):
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)
else:
    print(c,b,a)

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

print(" ".join(map(str,list)))

Solution (Python):
a , b , c = map(int , input() . split())
x = [a, b, c]
x . sort()
print(x[0] , x[1] , x[2])

Solution (Python):
a,b,c = map(int,input().split(" "))
if c < b:
    temp = c
    c = b
    b = temp
if b < a:
    temp = b
    b = a
    a = temp
if c < b:
    temp = c
    c = b
    b = temp
print("{} {} {}".format(a,b,c))

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

Solution (Python):
L = list(map(int, input().split()))

L.sort()

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

Solution (Python):
I = input().split()
a = int(I[0])
b = int(I[1])
c = int(I[2])
0 <= a,b,c <=100
if (b < a) : 
    n = a
    a = b
    b = n
if (c < b) : 
    n = b 
    b = c
    c = n
if (b < a) :
    n = a
    a = b
    b = n
print(str(a)+" "+str(b)+" "+str(c))

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

Solution (Python):
nums= [int(x) for x in input().split()]

nums.sort()

nums = ' '.join(list(map(str,nums)))
print(nums)

Solution (Python):
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)

Solution (Python):



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)

Solution (Python):


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)

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

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

Solution (Python):
a = list(map(int, input().split()))
a_sorted = sorted(a)
print('{} {} {}'.format(a_sorted[0], a_sorted[1], a_sorted[2]))

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

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

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

Solution (Python):
a,b,c=map(int,input().split())
x=0
if c<b:
    b,c=c,b
if c<a:
    c,a=a,c
if b<a:
    a,b=b,a
print(a, b, c)

Solution (Python):
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))

Solution (Python):
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])

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

table.sort()

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

Solution (Python):
a = list(input().split())
a.sort()
print(str(a[0]) + ' ' + str(a[1]) + ' ' + str(a[2]))

Solution (Python):
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))

Solution (Python):
a,b,c = map(int,input().split())
x=[a,b,c]
y=sorted([int(s) for s in x])
print(y[0],y[1],y[2])

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

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

Solution (Python):
li = list(map(int, input().split()))
li.sort()
li = [str(a) for a in li]
print(' '.join(li))

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

Solution (Python):
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)

Solution (Python):
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)

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

Solution (Python):
from sys import stdin

lis = list(map(int, stdin.readline().split()))

if lis[0] > lis[1]:
    lis[0], lis[1] = lis[1], lis[0]
if lis[1] > lis[2]:
    lis[1], lis[2] = lis[2], lis[1]
if lis[0] > lis[1]:
    lis[0], lis[1] = lis[1], lis[0]
    
print(*lis)

Solution (Python):
def main():
    l = input()
    a, b, c = list(map(int, l.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)
    return 0


if __name__ == "__main__":
    main()

Solution (Python):
Num = list(map(int, input().split()))

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

L=[str(a) for a in Num]
L=" ".join(L)
print(L)

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

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

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

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

Solution (Python):
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)

Solution (Python):
a,b,c=map(int,input().split())
if a<b:
    if b<c: print(f'{a} {b} {c}')
    else:
        if a<c: print(f'{a} {c} {b}')
        else: print(f'{c} {a} {b}')
else:
    if a<c: print(f'{b} {a} {c}')
    else:
        if b<c: print(f'{b} {c} {a}')
        else: print(f'{c} {b} {a}')

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

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

Solution (Python):
lst = [int(e) for e in input().split()]
lst.sort()
print(lst[0], lst[1], lst[2])

Solution (Python):
input_list = list(map(int, input().split()))
input_list.sort()
print(f'{input_list[0]} {input_list[1]} {input_list[2]}')

Solution (Python):


line = input().rstrip().split()
line.sort()
ans = " ".join(line)
print(ans)

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

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

Solution (Python):
li = input().split()
li.sort()
print(li[0], li[1],li[2])

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

Solution (Python):
a, b, c = map(int, input().split())
arr = [a, b, c]
arr.sort()
print(arr[0], arr[1], arr[2])

Solution (Python):
a,b,c=map(int,input().split())
if 1<=a<=10000 and 1<=b<=10000 and 1<=c<=10000:
    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)

Solution (Python):
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)

Solution (Python):
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)

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

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

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

Solution (Python):
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)

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

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

Solution (Python):
l = sorted([int(x) for x in input().split()])

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

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

Solution (Python):
L = list(map(int, input().split()))
L.sort()
print(L[0],L[1],L[2],sep=(' '))

Solution (Python):


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

Solution (Python):
a,b,c =input().split()
d=a,b,c
if int(d[0])>int(d[1]) : d=[d[1],d[0],d[2]]
if int(d[1])>int(d[2]) : d=[d[0],d[2],d[1]]
if int(d[0])>int(d[1]) : d=[d[1],d[0],d[2]]
a,b,c=d
print(a,b,c)

Solution (Python):
list_ = list(map(int, input().split()))

res = sorted(list_)

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

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

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

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

nums.sort()

for i in range(len(nums)):
    if i != len(nums) - 1:
        print(nums[i], end=" ")
    else:
        print(nums[i], end="\n")

Solution (Python):
a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
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)

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

Solution (Python):
three_num = sorted(list(map(int, input().split())))

print(" ".join(map(str, three_num)))

Solution (Python):

def insertion_sort(arr, n):
    for i_ in range(n-1):
        i = i_+1
        a = arr[i]
        j = i_ 
        while j>=0 and arr[j]>a:
            
            arr[j+1]=arr[j]
            j -= 1
        arr[j+1] = a
    return arr


arr = list( map(int, input().split()) )
n = len(arr)
b = insertion_sort(arr,n)
print( str(b[0]) + " " + str(b[1]) + " " + str(b[2]) )

Solution (Python):
l = map(int,raw_input().split())
l.sort()
print l[0],l[1],l[2]

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

Solution (Python):

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

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

Solution (Python):
from operator import itemgetter
a,b,c=map(int,input().split())

lists=sorted([a,b,c])

res=""
for i in lists:
    res+=str(i)+" "

print(res[:-1])

Solution (Python):

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

Solution (Python):
l = list(map(str, input().split()))

l.sort()
s = ' '.join(l)
print(s)

Solution (Python):
list_a = sorted(map(int,input().split()))
strlist = list(map(str,list_a))
print(strlist[0] + ' ' + strlist[1] + ' ' + strlist[2])

Solution (Python):

list = list(map(int, input().split()))
x = sorted(list)

print(*x)

Solution (Python):
a,b,c = (int(x) for x in input().split())

l = [a,b,c]

for i in range(2):
    if(l[0] > l[i+1]):
        l[0],l[i+1] = l[i+1],l[0]

if(l[1] > l[2]):
    l[1],l[2] = l[2],l[1]

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

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

if b > c:
    b1 = c
    c1 = b
    if a > b1:
        a1 = b1
        b2 = a
        if b2 > c1:
            c2 = b2
            b3 = c1
            print(str(a1) + " " + str(b3) + " " + str(c2))
        else:
            print(str(a1) + " " + str(b2) + " " + str(c1))
    else:
        print(str(a) + " " + str(b1) + " " + str(c1))

else:
    if a > b:
        a1 = b
        b1 = a
        if b1 > c:
            c1 = b1
            b2 = c
            print(str(a1) + " " + str(b2) + " " + str(c1))
        else:
            print(str(a1) + " " + str(b1) + " " + str(c))
    else:
        print(str(a) + " " + str(b) + " " + str(c))

Solution (Python):
a = list(map(int, input().split()))
a.sort()
print('{0} {1} {2}'.format(a[0],a[1],a[2]))

Solution (Python):
l=list(map(int,input().split()))

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

Solution (Python):
list = sorted(map(int,raw_input().split()))
strlist = map(str,list)
print(strlist[0] + ' ' + strlist[1] + ' ' + strlist[2])

Solution (Python):
a = input().split()
for i in range(len(a)):
    a[i] = int(a[i])
a.sort()
print(' '.join(str(i) for i in a))

Solution (Python):
l = input().split()
a,b,c = list(map(int,l))
if max(a,b,c) ==a:
    if b > c:
        print(c,b,a)
    else:
        print(b,c,a)
elif max(a,b,c)==b:
    if a > c:
        print(c,a,b)
    else:
        print(a,c,b)
else:
    if a > b:
        print(b,a,c)
    else:
        print(a,b,c)