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):
def main():
    nums = map(int, input().split())
    sorted_nums = sorted(nums)
    print(" ".join(map(str, sorted_nums)))

if __name__ == "__main__":
    main()

Solution (Python):
def bubble_sort(l):
    N = len(l)
    isChange = True
    while isChange:
        isChange = False
        for i in range(N-1):
            if(l[i] > l[i+1]):
                l[i], l[i+1] = l[i+1], l[i]
                isChange = True
    return l

l = input().split()
out = bubble_sort(l)
print("{} {} {}".format(out[0], out[1], out[2]))

Solution (Python):
def main():
    n = input().split()
    a = int(n[0])
    b = int(n[1])
    c = int(n[2])
    ans = [a,b,c]
    ans.sort()

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

if __name__ == '__main__':
    main()

Solution (Python):
def main():
    n = input().split()

    a = int(n[0])
    b = int(n[1])
    c = int(n[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("{0} {1} {2}".format(a,b,c))
if __name__ == '__main__':
    main()

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(f'{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):
print(*sorted([int(x) for x in input().split()]))

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

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

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

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

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

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

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

print(' '.join([str(i) for i in nums]))

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

Solution (Python):
l = [int(x) for x in input().split()]
sorted_l = sorted(l)
print(" ".join([str(x) for x in sorted_l]))

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

Solution (Python):

values = map(int, raw_input().split())
values.sort()
for value in values:
    print value,

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

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

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

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

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

Solution (Python):
def parseSpaceDivideIntArgs(arg):
    tmpArr = arg.split()
    ret = []
    for s in tmpArr:
        ret.append(int(s))
    return ret


def getArr2SpaceDivideStr(arg):
    ret = ""
    isFirst = True
    for s in arg:
        if not isFirst:
            ret += ' '
        else:
            isFirst = False
        ret += str(s)
    return ret


instr = input()


instrSpl = parseSpaceDivideIntArgs(instr)
instrSpl.sort()

print(getArr2SpaceDivideStr(instrSpl))

Solution (Python):
if __name__ == '__main__':
	a, b, c = input().split()
	a, b, c = int(a), int(b), int(c)

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

Solution (Python):


x,y,z=map(int,input().split())
list = [x,y,z]
list.sort()

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

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 = raw_input()
a = a.split()
for i in range(0,len(a)):
    a[i] = int(a[i])
a = sorted(a)
for data in a:
    print data,

Solution (Python):
a= list(int(i) for i in input().split())

a.sort()

risuto = ' '.join(map(str,a))
print(risuto)

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

Solution (Python):
abc = input().split()
for n in abc:
	n = int(n)
	
a,b,c = abc[0],abc[1], abc[2]


low = min(abc)
high = max(abc)

abc.remove(low)
abc.remove(high)

print (low, abc.pop(), high)

Solution (Python):
n = input().split()
num = [0 for _ in range(len(n))]
for i in range(len(n)):
    num[i] = int(n[i])
for i in (reversed(range(len(n)))):
    for j in range(i):
        if num[j] > num[j + 1]:
            tmp = num [j + 1]
            num[j + 1] = num[j]
            num[j] = tmp
print(str(num[0])+" "+str(num[1])+" "+str(num[2]))

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

wei.sort()

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

Solution (Python):
a, b, c= map(int, input().split())
if a >= b:
    big = a
    mid = b
else:
    big = b
    mid = a
if c >= big:
    small = big
    big = c
else:
    small = c
if small >= mid:
    small_1 = mid
    mid = small
    small = small_1

print("{0} {1} {2}".format(small, mid, big))

Solution (Python):
input_lines = input()

data = input_lines.split()
listA = [int(data[0]), int(data[1]), int(data[2])]
listA.sort()

text = str(listA[0])+" "+str(listA[1])+" "+str(listA[2])

print(text)

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

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

Solution (Python):
x = raw_input()
x = x.split(" ")
x = map(int,x)
x.sort()
x = map(str,x)
print " ".join(x)

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

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

Solution (Python):

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

l.sort()

l = map(str,l)
l = ' '.join(l)
print(l)

Solution (Python):


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

Solution (Python):
def execute(a, b, c):
    return sorted([a, b, c])

if __name__ == '__main__':
    numbers = map(int, input().split(' '))
    print(*execute(*numbers))

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

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

while(True):
    if (a > b):
        a,b=b,a
    if (b > c):
        b,c=c,b
    if ((a <= b) and (b <= c)):
        break
print(a,b,c)

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

Solution (Python):


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

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

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

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

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

d.sort()

sorting = str(d[0]) + ' '
sorting += str(d[1]) + ' '
sorting += str(d[2])

print(sorting)

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

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

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)

Solution (Python):


a,b,c = (int(i) for i in input().split())

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

for i,j in enumerate(l):
    print(j, end = ' ' if i != len(l)-1 else '\n')

Solution (Python):



import sys

numbers = list(map(int, sys.stdin.readline().split()))
numbers.sort()
str_num = list(map(str, numbers))

print(' '.join(str_num))

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

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

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

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

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

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

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

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

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

print(str(a) + " " + str(b) + " " + str(c))

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

l.sort()

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

Solution (Python):
while True:
    a, b, c = map(int, input().split())
    if a >= 1 and a <= 10000:
        if b >= 1 and b <= 10000:
            if c >= 1 and c <= 10000:
                break

if a <= b:
    if b <= c:
        print('{0} {1} {2}' .format(a, b, c))
    else :
        if a <= c:
            print('{0} {1} {2}' .format(a, c, b))
        else :
            print('{0} {1} {2}' .format(c, a, b))

else :
    if b >= c:
        print('{0} {1} {2}' .format(c, b, a))
    else :
        if a >= c:
            print('{0} {1} {2}' .format(b, c, a))
        else :
            print('{0} {1} {2}' .format(b, a, c))

Solution (Python):
import sys
input_data = input()
input_numbers = input_data.split()

if __name__ == '__main__':
    a = int(input_numbers[0])
    b = int(input_numbers[1])
    c = int(input_numbers[2])
    tmp = 0

    if c < a :
        tmp = a
        a = c
        c = tmp

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

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

    print('{0} {1} {2}'.format(a, b, c))

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

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

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

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

Solution (Python):
z = input()

z = z.split( )

list(map(int, z))

z.sort()

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

Solution (Python):
print(" ".join([str(y) for y in sorted([int(x) for x in input().split()])]))

Solution (Python):
a = list(map(int, input().rstrip().split()))
for i, n in enumerate(sorted(a)):
    if i == 2:
        print(n)
    else:
        print(n, end=" ")

Solution (Python):


if __name__=='__main__':
    num = map(int, raw_input().split())
    num.sort()
    print ' '.join(map(str, num))

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

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

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

if a<=b and b<=c:
    print(str(a)+" "+str(b)+" "+str(c))
elif a<=c and b>=c:
    print(str(a)+" "+str(c)+" "+str(b))
elif b<=a and a<=c:
    print(str(b)+" "+str(a)+" "+str(c))
elif b<=c and a>=c:
    print(str(b)+" "+str(c)+" "+str(a))
elif c<=a and 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(' '.join(map(str, a)))

Solution (Python):
lis = [int(x) for x in input().split()]
lis.sort()
for i in range(2):
    print(lis[i],end = " ")
print(lis[-1])

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())
list1 = [a, b, c]
list1.sort()
print(str(list1[0]) + " " + str(list1[1]) + " " + str(list1[2]))

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

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

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

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

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

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

Solution (Python):


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

print(a,b,c)

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

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

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

Solution (Python):
import sys


for line in sys.stdin:
    nums = list(map(int, line.split()))
    print(" ".join(map(str, sorted(nums))))

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

Solution (Python):
def main(x):
    retval = ''
    sort_list = sorted(x)
    retval = '%d' % sort_list[0]
    for i in range(1, len(sort_list)):
        retval = '%s %d' % (retval, sort_list[i])
    print(retval)
        
if '__main__' == __name__:
    try:
        while True:
            main(list(map(int, input().strip().split(' '))))
    except EOFError:
        pass

Solution (Python):



str_in = raw_input()
int_in = map(int, str_in.split())


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

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

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

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

Solution (Python):


i = input().split()
a = i[0]
b = i[1]
c = i[2]

if b > c:
    n = b
    b = c
    c = n
if a > b:
    n = a
    a = b
    b = n
if b > c:
    n = b
    b = c
    c = n
print(a + " " + b + " " + c)

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

Solution (Python):
a,b,c = map(int,raw_input().split())
list1 = [a,b,c]
list1.sort()
ans = str(list1[0])+" "
for i in range(1,3):
    if i!=2:
        ans += str(list1[i])+" "
    else:
        ans += str(list1[i])
print ans

Solution (Python):
mn,md,mx = map(int,input().split())
for i in range(3):
    if(mn>md):
        mn,md = md,mn
    elif(mn>mx):
        mn,mx = mx,mn
    elif(md>mx):
        md,mx = mx,md
print(mn,md,mx)

Solution (Python):
mn,md,mx = map(int,input().split())
for i in range(3):
    if(mn>md):
        mn,md = md,mn
    elif(mn>mx):
        mn,mx = mx,mn
    elif(md>mx):
        md,mx = mx,md
print(mn,md,mx)

Solution (Python):
m = [int(i) for i in input().split()]
for i in range(len(m)):
    if(m[0]>m[1]):
        m[0],m[1] = m[1],m[0]
    elif(m[0]>m[2]):
        m[0],m[2] = m[2],m[0]
    elif(m[1]>m[2]):
        m[1],m[2] = m[2],m[1]
print("{0} {1} {2}".format(m[0],m[1],m[2]))

Solution (Python):
m = [int(i) for i in input().split()]
for i in range(len(m)):
    if(m[0]>m[1]):
        m[0],m[1] = m[1],m[0]
    elif(m[1]>m[2]):
        m[1],m[2] = m[2],m[1]
print("{0} {1} {2}".format(m[0],m[1],m[2]))

Solution (Python):
input_line = raw_input()
temp_list = input_line.split()
a = int(temp_list[0])
b = int(temp_list[1])
c = int(temp_list[2])

x = min([a, b, c])
z = max([a, b, c])

if  not a in [x, z]:
  y = a
elif not b in [x, z]:
  y = b
else:
  y = c

print(str(x) + " " + str(y) + " " + str(z))

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

Solution (Python):


n = list(map(int, input().split()))
n.sort()
n = map(str, n)

print(' '.join(n))

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

Solution (Python):


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

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

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

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

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

Solution (Python):
s = input()
ss = s.split(" ")
arg = [int(sss) for sss in ss]
arg.sort()
dst = [str(a) for a in arg]
print(" ".join(dst))

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

for i in range(len(a)):
	if i != len(a)-1:
		print(a[i],end=' ')
	else:
		print(a[i])

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

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

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

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

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

Solution (Python):
list = input().split()
uplist = sorted(list)

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

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

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

Solution (Python):

if __name__ == '__main__':
	d = input()
	e = d.split(' ')
	a = e[0]
	b = e[1]
	c = e[2]
	if a >= b:
		if b >= c: 
			print (c+" "+b+" "+a)
		elif c >= a:
			print (b+" "+a+" "+c)
		else:
			print (b+" "+c+" "+a)
	else:
		if c >= b:
			print (a+" "+b+" "+c)
		elif a >= c:
			print (c+" "+a+" "+b)
		else:
			print (a+" "+c+" "+b)

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

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

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

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

set.sort()

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

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

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

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

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

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

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

ary.sort()

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

Solution (Python):



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

sorted_nums = []
sorted_nums.append(nums[0])

if nums[1] <= sorted_nums[0]:
    sorted_nums.insert(0, nums[1])
else:
    sorted_nums.append(nums[1])

if nums[2] <= sorted_nums[0]:
    sorted_nums.insert(0, nums[2])
elif nums[2] > sorted_nums[-1]:
    sorted_nums.append(nums[2])
else:
    sorted_nums.insert(1, nums[2])

print(' '.join([str(x) for x in sorted_nums]))

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

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

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

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

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

Solution (Python):


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

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

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

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

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

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

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

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

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

Solution (Python):



def main():
    num_list = []
    num_list = [int(i) for i in input().split()]  
    num_list.sort()
    print('{0} {1} {2}'.format(num_list[0], num_list[1], num_list[2]))


main()

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

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

Solution (Python):
def numinput():
    a = input().split()
    for i in range(len(a)):
        a[i] = int(a[i])
    return a

def main():
    a = numinput()
    a.sort()
    print('%d %d %d' % (a[0], a[1], a[2]))

if __name__ == "__main__":
    main()

Solution (Python):
args = input()

list_str = args.split(" ")
list_int = [int(s) for s in list_str]

list_int.sort()

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

Solution (Python):
tmp=input().split()
tmp.sort()
for i in range(0,len(tmp)-1):
    print(tmp[i],end=' ')
print(tmp[len(tmp)-1])

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

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

Solution (Python):
n = list(map(int, input().split()))
n = sorted(n)
for i, n in enumerate(n):
    if i == 2:
        print(n)
    else:
        print(n, end=' ')

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

Solution (Python):
NumList  = list(map(int, input().split()))
NumList.sort()
NumList = ' '.join(str(e) for e in NumList)
print(NumList)

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

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

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

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

print('%i %i %i' % (Y[0],Y[1],Y[2]))

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

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

Solution (Python):
for i, n in enumerate(sorted(list(map(int, input().split()))), 1):
    if i == 3:
        print(n)
    else:
        print(n, end=" ")

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

length = len(arr)

for i in range(length):
	for j in range(1, length):
		if i < j and arr[i] > arr[j]:
			temp = arr[i]
			arr[i] = arr[j]
			arr[j] = temp

arrStr = ''
for i in range(length):
	arrStr += str(arr[i])
	if i != length - 1:
		arrStr += ' '

print(arrStr)

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

Solution (Python):
import sys

if __name__ == '__main__':
    l = map(int, sys.stdin.read().split())
    for i in range(0, len(l)):
        for j in range(i + 1, len(l)):
            if l[j] < l[i]:
                l[j], l[i] = l[i], l[j]
    print l[0], l[1], l[2]

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

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

li = sorted([a, b, c])
print(f"{li[0]} {li[1]} {li[2]}")

Solution (Python):
def swap(a, b):
    dummy = a
    a = b
    b = dummy
    return a, b


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

if l[0] > l[1]:
    l[0], l[1] = swap(l[0], l[1])

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

if l[0] > l[1]:
    l[0], l[1] = swap(l[0], l[1])

for n, i in enumerate(l):
    if n != 0:
        print(" ", end="")
    print(i, end="")
    
    if n == 2:
        print()

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

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

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

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

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

print(k[0]+" "+k[1]+" "+k[2])

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

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

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:
    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("{0} {1} {2}".format(a, b, c))

Solution (Python):


integers = [int(i) for i in input().rstrip().split()]
seq = sorted(integers)
str = [str(j) for j in seq]
print(" ".join(str))

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

Solution (Python):



s = input()
s = map(int, s.split())
print(" ".join(map(str,sorted(s))))

Solution (Python):
def solve(line):
    line.sort()
    print("{0} {1} {2}".format(line[0],line[1],line[2]))


def answer():
    s = input().split()
    line = list(map(int, s))
    
    solve(line)

if __name__ =='__main__':
    answer()

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

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

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

Solution (Python):
def qsort(lst):
    if len(lst) == 0:
        return lst

    n = lst[0]

    l = []
    r = []

    for x in lst[1:]:
        if x < n:
            l.append(x)
        else:
            r.append(x)

    return qsort(l) + [n] + qsort(r)

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

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

Solution (Python):
a, b, c = sorted(int(w) for w in input().split())
print('{} {} {}'.format(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 = list(map(int, input().split()))
a.sort()
print(a[0],a[1],a[2])

Solution (Python):
abc_s = input()
abc_a = abc_s.split(" ")
abc = [int(x) for x in abc_a]
 
sorted = False
 
while sorted == False:
  sorted = True
  if abc[0] > abc[1]:
    sorted = False
    tmp = abc[0]
    abc[0] = abc[1]
    abc[1] = tmp
  if abc[1] > abc[2]:
    sorted = False
    tmp = abc[1]
    abc[1] = abc[2]
    abc[2] = tmp
 
print("{0[0]} {0[1]} {0[2]}".format(abc))

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

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

Solution (Python):
a = map(int, raw_input().split())
a.sort()
for x in a:
  print x,

Solution (Python):



def main():
	values = [int(x) for x in raw_input().split(" ")]
	if values[0] > values[1]:
		values[0], values[1] = values[1], values[0]
	if values[1] > values[2]:
		values[1], values[2] = values[2], values[1]
	if values[0] > values[1]:
		values[0], values[1] = values[1], values[0]
	print "%s %s %s" % tuple(values)

if __name__ == '__main__':
	main()

Solution (Python):
import sys
for x in sys.stdin:
    a,b,c = sorted([int(i) for i in x.split(' ')])
    print '%d %d %d' %(a,b,c)

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

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

Solution (Python):
i = map(int,raw_input().split())
if i[0] < i[1]:
        if i[2] < i[0]:
                print i[2],
                print i[0],
                print i[1]
        elif i[1] < i[2]:
                print i[0],
                print i[1],
                print i[2]
        else:
                print i[0],
                print i[2],
                print i[1]
else:
        if i[2] < i[1]:
                print i[2],
                print i[1],
                print i[0]
        elif i[0] < i[2]:
                print i[1],
                print i[0],
                print i[2]
        else:
                print i[1],
                print i[2],
                print i[0]

Solution (Python):
for d in sorted(map(int, raw_input().split())):
	print d,

Solution (Python):
from __future__ import division, print_function
from sys import stdin
print(*sorted(int(s) for s in stdin.readline().split()))

Solution (Python):
import sys
for line in sys.stdin:
    cols = map(int, line.rstrip('\n').split(' '))
    print ' '.join(map(str, sorted(cols)))

Solution (Python):
m=map(int, raw_input().split())
m.sort()
print ' '.join(map(str, m))

Solution (Python):
a = map(int,raw_input().split())
a.sort()
for i in xrange(3):
          print a[i],

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

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

Solution (Python):
a = map(str, raw_input().split())
print ' '.join(sorted(a))

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