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):
lista = input().split(" ")
lista.sort()
print (lista[0] + " " + lista[1] + " " + lista[2])

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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()))

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)

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

Tnum.sort()
print(*Tnum)

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<=b<=a:
     print(str(c)+" "+str(b)+" "+str(a))
else:
     print(str(c)+" "+str(a)+" "+str(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):
def main():
    abc_list=[]
    abc_list=input().split()
    abc_list=sorted(abc_list)
    print(*abc_list)

if __name__=="__main__":
    main()

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

list_num.sort()

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

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

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

Solution (Python):


num_list = list(map(int, input().split()))
num_list.sort()
print(*num_list)

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

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

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

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

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(" ")))
print(" ".join(list(map(str,sorted(a)))))

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

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

print(*l)

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

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

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

Solution (Python):
print(*sorted([int(n) for n in 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):
numbs=list(map(int,input().split()))
numbs.sort()
print(numbs[0],numbs[1],numbs[2])

Solution (Python):
a = list(input().split())
a.sort()
print(a[0]+" "+a[1]+" "+a[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):
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])

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

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

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

Solution (Python):
n = list(map(int, input().split()))
print("{} {} {}".format(sorted(n)[0], sorted(n)[1], sorted(n)[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,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)

Solution (Python):
ans = list(map(int, input().split()))
ans.sort()
print(ans[0], ans[1], 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):
s =list(map(int,input().split()))
s1 = sorted(s)
print(str(s1[0])+" "+str(s1[1])+" "+str(s1[2]))

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)
    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)

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

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

array.sort()





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

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

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

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

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

Solution (Python):
ns=list(map(int,input().split()))
ns.sort()
print(ns[0],ns[1],ns[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):
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):
int_list = list(map(int, input().split()))

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

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

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

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

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

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

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

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

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())
x=[a,b,c]
x.sort()
print(*x)

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

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

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(c,b,a)

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

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

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

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

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

print(l)

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

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

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

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

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

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

n.sort()

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

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):
array=[]
array+=list(map(int,input().split()))
array.sort()
print(f"{array[0]} {array[1]} {array[2]}")

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

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

sorted_nums = sorted(nums)

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

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

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

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

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

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

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

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

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

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

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

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 = map(int, input().split())
a, b, c = sorted([a,b,c])
print(a,b,c)

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

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

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

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

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):
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):
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)

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):
na = list(map(int,input().split()))
na.sort()
print(na[0], na[1], na[2])

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

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

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

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())
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)

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)
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

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

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

Solution (Python):

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

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

Solution (Python):
a,b,c = map(int, input().split())
x=[a,b,c]
x.sort()
print(str(x[0])+" "+str(x[1])+" "+str(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):
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)

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 <= 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):
abc = input()
abc = map(int, abc.split())
abc = sorted(abc)

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

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

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 <= 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 >= 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)

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 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)

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)
elif c <= b and b <= a:
    print (c, b, a)

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 <= 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)

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

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 >= 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)

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

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 <= b <= a:
    print(c, b, a)
elif c <= a <= b:
    print(c, a, b)

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 <= 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 <= 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):
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 <= 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<=c:
    print(f"{a} {b} {c}")
elif a<=c<=b:
    print(f"{a} {c} {b}")
elif b<=a<=c:
    print(f"{b} {a} {c}")
elif b<=c<=a:
    print(f"{b} {c} {a}")
elif c<=a<=b:
    print(f"{c} {a} {b}")
elif c<=b<=a:
    print(f"{c} {b} {a}")

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

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 and b <= c:
    print(a, b, c)
elif a <= c and c <= b:
    print(a, c, b)
elif c <= a and a <= b:
    print(c, a, b)
elif c <= b and b <= a:
    print(c, b, a)
elif b <= a and a <= c:
    print(b, a, c)
else:
    print(b, c, a)

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

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

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

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 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(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):
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 = list(map(int, input().split()))
A.sort()
print(*A)

Solution (Python):


x = map(int,input().split())
print(*sorted(x))

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

l.sort()
print("{} {} {}".format(l[0],l[1],l[2]))

Solution (Python):
line = (int(x) for x in input().split())

hoge = sorted(line)
print(hoge[0], hoge[1], hoge[2], end="\n")

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

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

Solution (Python):
a,b,c=sorted(input().split())
print(f"{a} {b} {c}")

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

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

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

list=[a,b,c]

list.sort()

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

Solution (Python):
x = sorted(map(int,input().split()))
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 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)

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

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

Solution (Python):
s = input().split()
for j in range(len(s)):
  for k in range(j-1,-1,-1):
    if s[k] >= s[k+1]:
      s[k],s[k+1] = s[k+1],s[k]
a = int(s[0])
b = int(s[1])
c = int(s[2])
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:
    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):
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):
a,b,c = map(int,input().split())
if a>b:
    a,b = b,a
else:
    a,b = a,b
if b>c:
    b,c = c,b
else:
    b,c =b,c
if a>b:
    a,b = b,a
else:
    a,b = a,b

print(a,b,c)

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

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

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)
elif c<=b and b<=a:
    print(c,b,a)