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

print(numbers[0], numbers[1], numbers[2], sep=' ')

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

Solution (Python):
ans = list(map(int, input().split()))
ans.sort()
print(''.join(str(val) + ' ' for val in ans).rstrip())

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

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

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

Solution (Python):
def sortNum(lst):
    lst.sort()
    print(lst[0], lst[1], lst[2])

def main():
    v =  input()
    lst = v.split()
    lst_int = [int(n) for n in lst]
    sortNum(lst_int)

if __name__ == '__main__':
    main()

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

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

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

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

input = [a, b, c]
k = len(input)
for i in range(k-1, 0, -1):
    for j in range(0, i, 1):
        if input[j] > input[j+1]:
            tmp = input[j]
            input[j] = input[j+1]
            input[j+1] = tmp


print(f"{input[0]} {input[1]} {input[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 c<=a and a<=b:
    print(c,a,b)
elif b<=c and c<=a:
    print(b,c,a)
elif c<=b and b<=a:
    print(c,b,a)

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

box.sort()
box = [str(x) for x in box]
box = ' '.join(box)

print(box)

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

Solution (Python):
a = input().split(' ')

a = sorted(a)

print(' '.join(a))

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

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

nums.sort()

print(*nums)

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

Solution (Python):
a = list(map(int, input().split()))
bool = True
while bool:
    bool = False
    for i in range(len(a) - 1):
        if a[i] > a[i+1]:
            a[i], a[i+1] = a[i+1], a[i]
            bool = True

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

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

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

ans = [a,b,c]
ans = sorted(ans)
num = ' '.join(ans)

print(num)

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

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

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

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

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

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

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

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

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

Solution (Python):

a = [int(i) for i in input().split()]

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

Solution (Python):
import sys
input = sys.stdin.readline

a = sorted(list(map(int, input().split())))
print(' '.join([str(n) for n in a]))

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

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

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

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

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

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

if a > b:
    tmp = a
    a = b
    b = tmp
    
if b > c:
    tmp = c
    c = b
    b = tmp

if a > b:
    tmp = a
    a = b
    b = tmp

print(a, b, c)

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

if a < b:
    if b < c:
        print("{} {} {}".format(a, b, c))
    else:
        print("{} {} {}".format(a, c, b))
else:
    if b < c:
        print("{} {} {}".format(b, c, a))
    else:
        print("{} {} {}".format(c, b, a))

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):
nums = list(map(int, input().split()))
min = 0

for i in range(0, len(nums)):
    for j in range(0, len(nums)):
        if (nums[j] > nums[i]):
            min = nums[j]
            nums[j] = nums[i]
            nums[i] = min

text = " ".join(map(str, nums))
print(text)

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

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

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, sep=" ")

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

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

if a > b:
    i = a
    a = b
    b = i
if a > c:
    k = a
    a = c
    c = k
if b > c:
    j = b
    b = c
    c = j

print(a, b, c)

Solution (Python):
a, b, c = map(int, input().split())
if a<=b and a<=c:
    if b<=c:
        print(a, b, c)
    else:
        print(a, c, b)
elif b<=c and b<=a:
    if c<=a:
        print(b, c, a)
    else:
        print(b, a, c)
else:
    if b<=a:
        print(c, b, a)
    else:
        print(c, a, 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("%d %d %d"%(a,b,c))

Solution (Python):
a,b,c=(int(x) for x in input().split())
while a>b or b>c:
    if a>b:
        tmp=a
        a=b
        b=tmp
    elif b>c:
        tmp=b
        b=c
        c=tmp
print(a,b,c)

Solution (Python):
abc = sorted([int(i) for i in input().split()])

print(*abc)

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

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

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

Solution (Python):
comparison_a, comparison_b, comparison_c = map(int, input("").split())

if comparison_a > comparison_b:
    temp = comparison_a
    comparison_a = comparison_b
    comparison_b = temp

if comparison_a > comparison_c:
    temp = comparison_a
    comparison_a = comparison_c
    comparison_c = temp

if comparison_b > comparison_c:
    temp = comparison_b
    comparison_b = comparison_c
    comparison_c = temp

print(f"{comparison_a} {comparison_b} {comparison_c}")

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

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

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

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

Solution (Python):
l = input().split()
l.sort()

print(f'{l[0]} {l[1]} {l[2]}')

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

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

Solution (Python):
import sys
import itertools



read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

a = [int(i) for i in readline().split()]
a.sort()
print(*a)

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

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

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

Solution (Python):
n=[]
for i in map(int,input().split()):n.append(i)
n.sort()
print(*n)

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

Solution (Python):
l = input().split()
l = list(map(int, l))
if l[0] > l[1]:
    l[0],l[1] = l[1],l[0]

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

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

print(f"{l[0]} {l[1]} {l[2]}")

Solution (Python):
a = [int(i) for i in input().split()]
a.sort()
print(*a)

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

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

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

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

result = " ".join(map(str, list_num))

print(result)

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

Solution (Python):


iim = lambda: map(int, input().rstrip().split())

def resolve():
    a = list(iim())
    a.sort()
    print(a[0], a[1], a[2])

if __name__ == "__main__":
    resolve()

Solution (Python):


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


list_sort=[]

for num in list:
  less_count=0
  
  for check in list:
    if num > check:
      less_count += 1
      
  list_sort.append( [less_count, num] )

list_ans=[]
for i in range( len(list_sort) ):
  for L in list_sort:
    if L[0] == i: list_ans.append(str(L[1]))

print(' '.join(list_ans))

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

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

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


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

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

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

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

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

if a > c:
  tmp = a
  a = c
  c = tmp

if a > b:
  tmp = a
  a = b
  b = tmp

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

Solution (Python):
a,b,c=(int(x) for x in input().split())
A,C=min(a,b,c),max(a,b,c)
B=a+b+c-A-C
print(A,B,C)

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

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

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

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

a.sort()

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

Solution (Python):
inp = input()

strabc = inp.split()

listnum = [int(i) for i in strabc]
sortnum = map(str, sorted(listnum))

print(' '.join(sortnum))

Solution (Python):
abc = list(map(int, input().split()))
a = max(abc)
c = min(abc)
abc.remove(a)
abc.remove(c)
print(c, abc[0], a)

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

Solution (Python):
L = [int(l) for l in input().split()]
L.sort()
print(*L)

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

Solution (Python):

a, b, c = input().split(' ')

arr = [int(a), int(b), int(c)]
arr.sort()

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

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

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

for i in range(0, 3):
    k = a.index(min(a))
    x.append(min(a))
    a[k] = 100000

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

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

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

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

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

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

x = [a,b,c]
x.sort()
print(x[0],x[1],x[2],sep=" ")

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

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

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

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

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

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

Solution (Python):
def sort_l(x):
    if len(x) == 0:
        return []
    r = min(x)
    x.remove(r)
    return [r] + sort_l(x)


a = list(map(int, input().split()))
print(*sort_l(a))

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(str(a) + ' ' + str(b) + ' ' + str(c))

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

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

Solution (Python):
import sys

l = input()
numbers = list(map(int, l.split()))
numbers.sort()
str_num = list(map(str, numbers))

print(" ".join(str_num))

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

Solution (Python):




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

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

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

Solution (Python):
def number_sort(a, b, c):
    arr = [a, b, c]
    arr = sorted(arr)
    print( str(arr[0]) + " " + str(arr[1]) + " " + str(arr[2]) )

if __name__ == "__main__":

    param = input()
    param = param.split(" ")

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

    number_sort(a, b, c)

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

Solution (Python):
input_integer = list(map(int, input().rstrip().split(" ")))
input_integer.sort()

print(input_integer[0], end=" ")
print(input_integer[1], end=" ")
print(input_integer[2])

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

Solution (Python):
inlist = input().split()
a1, a2, a3 = (int(x) for x in inlist)




if a1 > a2:
    sub = a1
    a1 = a2
    a2 = sub

if a2 > a3:
    sub = a2
    a2 = a3
    a3 = sub

if a1 > a2:
    sub = a1
    a1 = a2
    a2 = sub

print(a1,a2,a3)

Solution (Python):
a = map(int, input().split())
print(''.join(map(lambda x: str(x)+' ', sorted(a)))[:-1])

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

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

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

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

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

Solution (Python):
from collections import deque
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")

def main():
    aa=list(map(int,input().split()))
    aa.sort()
    print(*aa)

main()

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

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

Solution (Python):
a, b, c = (int(x) for x in input().split())
array = []
if 0 <= a and a <= 10000:
  array.append(a)
if 0 <= b and b <= 10000:
  array.append(b)
if 0 <= c and c <= 10000:
  array.append(c)

sorted_array = sorted(array)

print(str(sorted_array[0]), str(sorted_array[1]), str(sorted_array[2]))

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

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

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

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

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

Solution (Python):
x = input().split()

list.sort(x)

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

Solution (Python):
ans = sorted([int(i) for i in input().split()])

print(" ".join([str(i) for i in ans]))

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

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

Solution (Python):
y = raw_input()
x = y.split(" ")
a = int(x[0])
b = int(x[1])
c = int(x[2])
numbers = [a,b,c]
numbers.sort()

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

Solution (Python):

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

print(" ".join(map(str, sorted([a, b, c]))))

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

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

if b < a:
    t = b
    b = a
    a = t

if c < a:
    t = c
    c = a
    a = t

if c < b:
    t = c
    c = b
    b = t

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

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

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):
print(' '.join(map(str, sorted(map(int, input().split())))))

Solution (Python):
Input = input().split()
f = int(Input[0])
s = int(Input[1])
t = int(Input[2])

if f <= s <= t :print(f,s,t)
elif f <= t <= s :print(f,t,s)
elif s <= f <= t :print(s,f,t)
elif s <= t <= f :print(s,t,f)
elif t <= f <= s :print(t,f,s)
else:print(t,s,f)

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

n.sort()

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

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

Solution (Python):
l=input().split()
l.sort()
if l[0] in range(1,10001) and l[1] in range(1,10001) and l[2] in range(1,10001):
    l.sort()
print(l[0]+" "+str(l[1])+" "+str(l[2]))

Solution (Python):
a, b, c = (int(x) for x in input().split())
list = [a, b, c]
MAX = list[0]
if MAX < list[1]:
    MAX = list[1]
if MAX < list[2]:
    MAX = list[2]
list.remove(MAX)
MID = list[0]
MIN = list[1]
if MID < MIN:
    MID = list[1]
    MIN = list[0]
print(MIN, MID, MAX)

Solution (Python):
l = input()
x = list(map(int, l.split()))
for i in range(len(x)):
    for j in range(len(x) - i - 1):
        if x[j] > x[j+1]:
            work = x[j+1]
            x[j+1] = x[j]
            x[j] = work
print(f"{x[0]} {x[1]} {x[2]}")

Solution (Python):
l=input().split()
l.sort()
if l[0] in range(1,10001) and l[1] in range(1,10001) and l[2] in range(1,10001):
    l.sort()
print(l[0]+" "+str(l[1])+" "+str(l[2]))

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

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

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

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

print(f"{l[0]} {l[1]} {l[2]}")

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

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

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

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

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

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

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

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

L=sorted(l)

print(*L)

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 <= 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):
x,y,z=(int(x) for x in input().split())
if x>y:
    x,y=y,x
if x>z:
    x,z=z,x
if y>z:
    y,z=z,y
print (x,y,z)

Solution (Python):
a = []
a[:] = map(int, input().split())
for i in range(1,3):
    v = a[i]
    j = i-1
    while (j>=0 and a[j]>v):
        a[j+1] = a[j]
        j-=1
        a[j+1]=v
s = map(str, a)
print(' '.join(s))

Solution (Python):
str=input()
str_list=str.split()
a=int(str_list[0])
b=int(str_list[1])
c=int(str_list[2])

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

Solution (Python):


def bubbleSort(arr):
    for i in range(1, len(arr)):
        for j in range(0, len(arr)-i):
            if arr[j] > arr[j+1]:
                arr[j], arr[j + 1] = arr[j + 1], arr[j]
    return arr

def main():
    arr = [int(x) for x in input().split()]
    sort_arr = [str(x) for x in bubbleSort(arr)]
    str_arr = ' '.join(sort_arr)
    print(str_arr)

if __name__ == "__main__":
    main()

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

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

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

Solution (Python):
l = list(map(int,input().split()))
x = l[0]
y = l[1]
z = l[2]

if x < y:
    if y < z:
        print(str(l[0]) + ' ' + str(l[1]) + ' ' + str(l[2]))
    else:
        if x < z:
            print(str(l[0]) + ' ' + str(l[2]) + ' ' + str(l[1]))
        else:
            print(str(l[2]) + ' ' + str(l[0]) + ' ' + str(l[1]))
else:
    if y > z:
        print(str(l[2]) + ' ' + str(l[1]) + ' ' + str(l[0]))
    else:
        if x < z:
            print(str(l[1]) + ' ' + str(l[0]) + ' ' + str(l[2]))
        else:
            print(str(l[1]) + ' ' + str(l[2]) + ' ' + str(l[0]))

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 = list(map(int,input().split()))
a.sort()
for i in range(len(a)):
    if i != 2:
        print('{} '.format(a[i]),end='')
    else:
        print(a[i])

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

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

Solution (Python):
ls = sorted([int(s) for s in input().split()])
print(' '.join([str(s) for s in ls]))

Solution (Python):
x=input().split(" ")
a=int(x[0])
b=int(x[1])
c=int(x[2])

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(str(a)+" "+str(b)+" "+str(c))

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

Solution (Python):
def main():
    A = [int(i) for i in input().split()]
    print(*sorted(A))

if __name__ == '__main__':
    main()

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

if b>c:
    tmp = b
    b = c
    c = tmp
    
if a>b:
    tmp = a
    a = b
    b = tmp
    
if b>c:
    tmp = b
    b = c
    c = tmp

print(a,b,c)

Solution (Python):
a,b,c=list(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()
A_str = [str(n) for n in A]
str = ' '.join(A_str)
print(str)

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

i=sorted(i)
print(" ".join([str(n) for n in i]))

Solution (Python):

l=input().split()

l.sort()


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

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

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

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

for i in range(3):
    if i >0:
        print(" ",end="")
    print(s[i],end="")
print("")

Solution (Python):
a, b, c = (int(x) for x in 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):
nums = list(map(int, input().split(" ")))

for i in range(len(nums)-1):
    for j in range(len(nums)-1):
        if nums[j] > nums[j+1]:
            nums[j], nums[j+1] = nums[j+1], nums[j]
            
for i in range(len(nums)):
    nums[i] = str(nums[i])

string = " ".join(nums)

print(string)

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

print(a,b,c)

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

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

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

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

Solution (Python):
list = [int(e) for e in input().split()]
list.sort()
list
hoge = []
for i in list:
    hoge.append(i)
    hoge.append(" ")
hoge.pop()
str(hoge)
print("".join(map(str,hoge)))

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

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

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

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)