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):
d = [int(x) for x in input().split()]
d.sort()
print('{0} {1} {2}'.format(d[0], d[1], d[2]))

Solution (Python):



abc = raw_input().split()

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

if b < a:
    a,b = b,a

if c < b:
    c,b = b,c

if b < a:
    a,b = b,a

print a,b,c

Solution (Python):
a,b,c = map(int,raw_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 "%d %d %d" %(a,b,c)

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

Solution (Python):
a, b, c = map(int, input().split())
numlist = [a, b, c]
numlist.sort()
print(" ".join(map(str, numlist)))

Solution (Python):


def main():
	nums = input().split(" ") 
	nums.sort()
	return " ".join(nums)
	
if __name__ == '__main__':
  print(main())

Solution (Python):
A = input().split()
B = sorted(A)
C = map(str, B)
print(' '.join(C))

Solution (Python):
A = input().split()
B = sorted(A)
C = map(str, B)
print(' '.join(C))

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

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

a.sort()
a = map(str, a)

print a[0] + ' ' + a[1] + ' ' + a[2]

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

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

Solution (Python):
n = input().split()
a = []
for i in range(len(n)):
  a.append(int(n[i]))
a = sorted(a)
print('{0} {1} {2}'.format(a[0],a[1],a[2]))

Solution (Python):
num = list(map(int,input().split()))
count = 0
while count < 2:
        for i in range(2):
                j = 0
                if num[i] > num[i+1]:
                        j = num[i]
                        num[i] = num[i+1]
                        num[i+1] = j
                else:
                        continue
        count += 1
out = ''
for i in num:
        out += str(i) + ' '
print(out[:-1])

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

x.sort()

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

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

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

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

print(a, b, c)

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

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

Solution (Python):

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

x.sort()

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

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

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

Solution (Python):
x = map(int, raw_input().split())
for i in range(len(x)-1):
    for j in range(len(x)-i-1):
        if x[j] > x[j+1]:
            tmp = x[j+1]
            x[j+1] = x[j]
            x[j] = tmp
print x[0], x[1], x[2]

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

Solution (Python):
ass, bss, css = input().split(" ")

a = int(ass)
b = int(bss)
c = int(css)

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

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

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

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

Solution (Python):
i = map(int, raw_input().split())
i.sort()
print "%d %d %d" %(i[0],i[1],i[2])

Solution (Python):
x = sorted([int(i) for i in input().split()])
print("{0} {1} {2}".format(x[0],x[1],x[2]))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
list=map(int,raw_input().split())
list.sort()
for i in range(len(list)):
	print '%d'%(list[i]),

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

Solution (Python):
import string
L = string.split(raw_input())

L.sort()

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

Solution (Python):
i = map(int, raw_input().split())
i.sort()
print "%d %d %d" % (i[0], i[1], i[2])

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

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

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

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

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

Solution (Python):
def swap(m, n, items):
    x = items[n]
    items[n] = items[m]
    items[m] = x
    

ABC = input().split()

if ABC[0] > ABC[1]:
    swap(0, 1, ABC)
    if ABC[1] > ABC[2]:
        swap(1, 2, ABC)
        if ABC[0] > ABC[1]:
            swap(0, 1, ABC)
elif ABC[1] > ABC[2]:
    swap(1, 2, ABC)
    if ABC[0] > ABC[1]:
        swap(0, 1, ABC)
print(ABC[0], ABC[1], ABC[2])

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

Solution (Python):
import sys

data = sys.stdin.readline().strip().split(' ')
nums = [int(i) for i in data]
nums.sort()
print(' '.join([str(i) for i in nums]))

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

flg=1
while flg==1:
    flg=0
    for i in range(2):
        if num[i]>num[i+1]:
            box = num[i]
            num[i]=num[i+1]
            num[i+1]=box
            flg=1

print "%d %d %d" % (num[0],num[1],num[2])

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

inl.sort()

print inl[0],inl[1],inl[2]

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

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

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

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

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

Solution (Python):
def a(b):
	return int(b)

c=input().split()
c.sort(key=a)
ans=""
for i in range(len(c)):
	if ans!="":
		ans+=" "
	ans+=str(c[i])
print(ans)

Solution (Python):
input_line = input()
list_num = input_line.strip().split(' ')
list_num.sort()
print(' '.join(list_num))

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

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

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

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

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

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

Solution (Python):


def Sort(a,b,c):
    box = 0
    if a > b:
        box = b
        b = a
        a = box
    if b > c:
        box = c
        c = b
        b = box
    if a > b:
        box = b
        b = a
        a = box
    return a,b,c

if __name__=="__main__":
    a = input().split(" ")
    a,b,c = Sort(int(a[0]),int(a[1]),int(a[2]))
    print(str(a)+" "+str(b)+" "+str(c))

Solution (Python):
t = map(int, raw_input().split())
kaisu = len(t)

for i in range(kaisu-1):
    for j in range(i+1, kaisu) :
        if t[i] > t[j] :
            temp = t[i]
            t[i] = t[j]
            t[j] = temp

for i in range(kaisu):
    print "%d" %t[i] ,

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

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

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

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

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

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

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

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

x = [a, b, c]

x.sort()

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

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

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

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

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

l.sort()
l = map(str, l)

print(" ".join(l))

Solution (Python):
a1, a2, a3 = input().split()

l = [int(a1), int(a2), int(a3)]
l.sort()

print(l[0], l[1], l[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):
input_lines = raw_input()
n1_n2_n3 = input_lines.rstrip().split(" ")
n1 = int(n1_n2_n3[0])
n2 = int(n1_n2_n3[1])
n3 = int(n1_n2_n3[2])
num_list = []
num_list.append(n1)
num_list.append(n2)
num_list.append(n3)
num_list.sort()
print str(num_list[0]) + " " + str(num_list[1]) + " " + str(num_list[2])

Solution (Python):
input_lines = raw_input()
n1_n2_n3 = input_lines.rstrip().split(" ")
n1 = int(n1_n2_n3[0])
n2 = int(n1_n2_n3[1])
n3 = int(n1_n2_n3[2])
num_list = []
num_list.append(n1)
num_list.append(n2)
num_list.append(n3)
num_list.sort()
print str(num_list[0]) + " " + str(num_list[1]) + " " + str(num_list[2])

Solution (Python):
input_lines = raw_input()
n1_n2_n3 = input_lines.rstrip().split(" ")
n1 = int(n1_n2_n3[0])
n2 = int(n1_n2_n3[1])
n3 = int(n1_n2_n3[2])
num_list = []
num_list.append(n1)
num_list.append(n2)
num_list.append(n3)
num_list.sort()
print str(num_list[0]) + " " + str(num_list[1]) + " " + str(num_list[2])

Solution (Python):
input_lines = raw_input()
n1_n2_n3 = input_lines.rstrip().split(" ")
n1 = int(n1_n2_n3[0])
n2 = int(n1_n2_n3[1])
n3 = int(n1_n2_n3[2])
num_list = []
num_list.append(n1)
num_list.append(n2)
num_list.append(n3)
num_list.sort()
print str(num_list[0]) + " " + str(num_list[1]) + " " + str(num_list[2])

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

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

m.sort()

a = m[0]
b = m[1]
c = m[2]

print a,b,c

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

m.sort()
a = m[0]
b = m[1]
c = m[2]

print a,b,c

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

m.sort()
a = m[0]
b = m[1]
c = m[2]

print a,b,c

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

m = sorted(n)
a = m[0]
b = m[1]
c = m[2]

print a,b,c

Solution (Python):
ins = input().split()
a = int(ins[0])
b = int(ins[1])
c = int(ins[2])
nums = [a, b, c]
nums.sort()
print(" ".join(map(str, nums)))

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

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

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

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

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

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

Solution (Python):
print(" ".join(sorted(input().split())))

Solution (Python):
a = input().split()
print(" ".join(sorted(a)))

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

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

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

Solution (Python):
if __name__ == "__main__":
	a = [ i for i in input().split() ]
	a.sort()
	print(' '.join(a))

Solution (Python):
a = [int(s) for s in raw_input().split()]
a.sort()
print " ".join([str(s) for s in a])

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

Solution (Python):
x = input()
y = x.split(" ")
y = [int(z) for z in y]
c = 0
while c < 2:
    for z in range(0,2):
        if y[z] > y[z+1]:
            tmp = y[z+1]
            y[z+1] = y[z]
            y[z] = tmp
    c = c + 1
print("%d %d %d" % (y[0], y[1], y[2]))

Solution (Python):
inputStr = input()
numList = inputStr.split(' ')
numList = [int(x) for x in numList]
numList.sort()

outputStr = ''
count = len(numList)
for z in numList:
    outputStr = outputStr + str(z)
    count-=1
    if count>0 :
        outputStr+=' '

print(outputStr)

Solution (Python):
import sys

input_values = [int(x) for x in sys.stdin.readline().split()]
input_values.sort()

print(" ".join([str(x) for x in input_values]))

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

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

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

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

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

Solution (Python):
l = map(int, raw_input().split(' '))
for i in xrange(len(l)):
  print sorted(l)[i],

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

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

numbers = [a,b,c]
numbers.sort()
print(str(numbers[0]) + " " + str(numbers[1]) + " " + str(numbers[2]))

Solution (Python):

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

retVal.sort()

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

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

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

a.sort()

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

Solution (Python):
values = input()
ret = sorted(values.split())
print(' '.join(x for x in ret))

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

Solution (Python):
if __name__ == '__main__':
    key_in = input()
    data = key_in.split(' ')

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

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

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

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

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

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

Solution (Python):
list1 = input().split(" ")
list2 = list(map(int, list1))
list3 = sorted(list2)
list4 = list(map(str, list3))
answer_string = " ".join(list4)

print(answer_string)

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

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

a.sort()

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

Solution (Python):
def main():
    nums = sorted([int(c) for c in input().strip().split()])
    print(" ".join([str(c) for c in nums]))

if __name__ == '__main__':
    main()

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

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

for i in range(len(a)):
    if i == len(a) - 1:
        print(a[i])
    else:
        print(str(a[i]) + " ", end = "")

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

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

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

if (a >= 1 and a <= 10000) and (b >= 1 and b <= 10000) and (c >= 1 and c <= 10000):
    listed = []
    listed.append(a)
    listed.append(b)
    listed.append(c)

    sorted = listed.sort()

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

Solution (Python):
x = input()

a = [n for n in x.split()]
a.sort()
print(' '.join(a))

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

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

Solution (Python):
s = list(map(int,input().split()))
print("%d %d %d" % tuple(sorted(s)))

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

if (a >= 1 and a <= 10000) and (b >= 1 and b <= 10000) and (c >= 1 and c <= 10000):
    listed = []
    listed.append(a)
    listed.append(b)
    listed.append(c)

    sorted = listed.sort()

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

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

Solution (Python):
t = list(map(int, input().split()))
t.sort()
for i in range(len(t)):
    print(t[i],end=' 'if i < len(t)-1 else '\n')

Solution (Python):
in_str = input().split(" ")
in_int = sorted(list(map(int, in_str)))
in_sstr = list(map(str, in_int))
tes = " ".join(in_sstr)
print(tes)

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

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

Solution (Python):


data = sorted([int(i) for i in input().split()])
s=""
for x in data:
	s+=(str(x)+" ")
print(s[0:len(s) - 1])

Solution (Python):


data = sorted([int(i) for i in input().split()])
s=""
for x in data:
	s+=(str(x)+" ")
print(s[0:len(s) - 1])

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

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

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

Solution (Python):
a,b,c = input().split()
a = int(a)
b = int(b)
c = int(c)
i = 0
if a > b:
    i = a
    a = b
    b = i
if c < a:
    i = a
    a = c
    c = i
if b > c:
    i = b
    b = c
    c = i
fmt = "{d} {e} {f}"
s = fmt.format(d = a,e = b,f = c)
print(s)

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

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

print "%s %s %s"%(l[0],l[1],l[2])

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

Solution (Python):
import fileinput

for line in fileinput.input():
    tokens = list(map(int, line.strip().split()))
    tokens.sort()
    a, b, c = tokens[0], tokens[1], tokens[2]
    print(a, b, c)

Solution (Python):



line = input().strip().split(" ")

if int(line[0]) <= int(line[1]):
    if int(line[1]) <= int(line[2]):
        print(line[0] + " " + line[1] + " " + line[2])
    elif int(line[2]) < int(line[1]):
        if int(line[0]) <= int(line[2]):
            print(line[0] + " " + line[2] + " " + line[1])
        else:
            print(line[2] + " " + line[0] + " " + line[1])

elif int(line[1]) < int(line[0]):
    if int(line[0]) <= int(line[2]):
        print(line[1] + " " + line[0] + " " + line[2])
    else:
        if int(line[2]) <= int(line[1]):
            print(line[2] + " " + line[1] + " " + line[0])
        else:
            print(line[1] + " " + line[2] + " " + line[0])

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

if data[0] < data[1]:
    if data[1] < data[2]:
        print "%d %d %d" %(data[0],data[1],data[2])
    elif data[0] < data[2]:
        print "%d %d %d" %(data[0],data[2],data[1])
    else:
        print "%d %d %d" %(data[2],data[0],data[1])
else:
    if data[0] < data[2]:
        print "%d %d %d" %(data[1],data[0],data[2])
    elif data[1] < data[2]:
        print "%d %d %d" %(data[1],data[2],data[0])
    else:
        print "%d %d %d" %(data[2],data[1],data[0])

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

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

Solution (Python):
def sort_three_numbers(a, b, c): 
    """ 
    a: int or float
    b: int or float
    c: int or float
    returns a sorted list
    """
    result = []
    
    if a < b:
        if a < c:
            result.append(a)
            if b < c: 
                result.append(b)
                result.append(c)
            else: 
                result.append(c)
                result.append(b)
        else:
            result.append(c)
            result.append(a)
            result.append(b)
    else:
        if b < c:
            result.append(b)
            if a < c: 
                result.append(a)
                result.append(c)
            else: 
                result.append(c)
                result.append(a)
        else: 
            result.append(c)
            result.append(b)
            result.append(a)

    return result


ivals = input().split(' ')
print('{0[0]} {0[1]} {0[2]}'.format(sort_three_numbers(ivals[0], ivals[1], ivals[2])))

Solution (Python):


def string_three_numbers_spliter():
    a, b, c = [int(i) for i in input().split()]
    return a, b, c


def main():
    a, b, c = string_three_numbers_spliter()
    lst = [a, b, c]
    lst.sort()
    print(' '.join(str(i) for i in lst))


if __name__ == '__main__':
    main()

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

Solution (Python):


def string_three_numbers_spliter():
    a, b, c = [int(i) for i in input().split()]
    return a, b, c


def main():
    a, b, c = string_three_numbers_spliter()
    lst = [a, b, c]
    lst.sort()
    print(' '.join(str(i) for i in lst))


if __name__ == '__main__':
    main()

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

Solution (Python):
a = list(map(int,input().split()))
for i in range(len(a)):
    for j in range(i,len(a)):
        if a[i] > a[j]:
            ret = a[i]
            a[i] = a[j]
            a[j] = ret
print(" ".join(list(map(str,a))))

Solution (Python):
z = input()
w,x,y = z.split()
l = [w,x,y]
l.sort()
print(" ".join(l))

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

if nums[2] >= nums[1]:
	a=nums[1]
	b=nums[2]
else:
	b=nums[1]
	a=nums[2]
	
if nums[0] <= a:
	min=nums[0]
	mid=a
	max=b
elif nums[0] <= b:
	min=a
	mid=nums[0]
	max=b
else:
	min=a
	mid=b
	max=nums[0]

print(min,mid,max)

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

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

Solution (Python):

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


print("{a} {b} {c}".format(a=x[0], b=x[1], c=x[2]))

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

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

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

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

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

Solution (Python):
import sys
s = raw_input().rstrip().split(" ")
arr = []
arr.append(int(s[0]))
arr.append(int(s[1]))
arr.append(int(s[2]))
maxnum = -sys.maxint
minnum = sys.maxint
maxi=0
mini=0
for i in xrange(3):
	if maxnum<arr[i]:
		maxnum=arr[i]
		maxi=i
	if minnum>arr[i]:
		minnum=arr[i]
		mini=i
print minnum,arr[3-maxi-mini],maxnum

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

Solution (Python):
if __name__ == "__main__":
    list = [int(i) for i in input().split()]
    print(' '.join([str(i) for i in sorted(list)]))

Solution (Python):
a= [int(x) for x in input().split()]
if a[0]>a[1]:
    a[0],a[1]=a[1],a[0]
if a[1]>a[2]:
    a[1],a[2]=a[2],a[1]
if a[0]>a[1]:
    a[0],a[1]=a[1],a[0]
print("{0} {1} {2}".format(a[0],a[1],a[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:
	a, b = b, a
if b>c:
	b, c = c, b
if a>b:
	a, b = b, a

print(a,b,c)

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

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

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

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

Solution (Python):
array = [int(i) for i in input().split()]
array.sort()
for i in range(len(array)):
    if i == 2:
        print(array[i])
    else:
        print(array[i],end=" ")

Solution (Python):
import sys
num = input().split()
num.sort()
for i in range(len(num)-1):
    sys.stdout.write(num[i]+" ")
print(num[2])

Solution (Python):
inps = input().split()
lst = [int(i) for i in inps]
for idx in range(len(lst) - 1):
    for idx_next in range(idx+1, len(lst)):
        if lst[idx] > lst[idx_next]:
            tmp = lst[idx_next]
            lst[idx_next] = lst[idx]
            lst[idx] = tmp
print("{} {} {}".format(lst[0], lst[1], lst[2]))

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

print(' '.join([str(B) for B in A]))

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

Solution (Python):
lst = list(map(int, input().split()))
for i, data in enumerate(sorted(lst)):
    if not i == len(lst)-1:
        print('{} '.format(data), end='')
    else:
        print('{}'.format(data))

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

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

Solution (Python):
s = input().rstrip().split(' ')
a = int(s[0])
b = int(s[1])
c = int(s[2])
if a > b:
	a,b = b,a
if b > c:
	b,c = c,b
if a > b:
	a,b = b,a
print(str(a) + " " + str(b) + " " + str(c))

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

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