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



Sample input:
3 8 1


Sample output:
1 3 8

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B, C = map(int,input().split())

if A > B:
        q = B
        B = A
        A = q
if B > C:
        w = C
        C = B
        B = w

if A > B:
        e = B
        B = A
        A = e

print(A,B,C)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input().split(' ')
for i in range(len(a)):
    a[i] = int(a[i])
min = min(a)
max = max(a)
a.remove(min)
a.remove(max)
print(str(min)+' '+str(a[0])+' '+str(max))

Submission status: Accepted

Solution code:
inp = input().split(" ")

inp.sort()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

a=sorted(a)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input_list = input().split()
a, b, c = map(int, input_list)
if a <= b and b <= c:
    print(str(a) + " " + str(b) + " " + str(c))
elif a <= c and c <= b:
    print(str(a) + " " + str(c) + " " + str(b))
elif b <= a and a <= c:
    print(str(b) + " " + str(a) + " " + str(c))
elif b <= c and c <= a:
    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))

Submission status: Accepted

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

if b>c:
    d=c
    c=b
    b=d

if a>b:
    d=b
    b=a
    a=d

print(a,b,c)

Submission status: Accepted

Solution code:
# coding: utf-8
line = input().rstrip().split()
val = []
val.append(int(line[0]))
val.append(int(line[1]))
val.append(int(line[2]))
val.sort()
for i in range(len(val)):
    if i==len(val) -1:
        print(str(val[i]))
    else:
        print(str(val[i]) + " ", end="")

Submission status: Accepted

Solution code:
num_list = list(input().split())
sorted_list = sorted(num_list)
answer = ' '.join(sorted_list)
print(answer)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
l = sorted([a,b,c])
print('{} {} {}'.format(l[0],l[1],l[2]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list = input().split(' ')
for i, n in enumerate(list):
  list[i] = int(n)

change = True
while change:
    for i in range(len(list) - 1):
        change = False
        if list[i] > list [i + 1]:
            list[i], list[i + 1] = list[i + 1], list[i]
            change = True

string = ''
for i in range(len(list)):
  string += (str(list[i]) + ' ')

string = string.rstrip()

print(string)

Submission status: Accepted

Solution code:
arr=list(map(int, input().split()))
print("{} {} {}".format(*sorted(arr)))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
array = input().split()
array.sort()
for i in range(3):
    if i == 2:
        print(array[i])
    else:
        print(array[i],end=" ")

Submission status: Accepted

Solution code:
nums = list(map(int, input().split()))
nums.sort()
result = [str(i) for i in nums]
print(' '.join(result))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if b < a:
    tmp = a
    a = b
    b = tmp
if c < a:
    tmp = c
    c = b
    b = a
    a = tmp
elif c < b:
    tmp = b
    b = c
    c = tmp

print(a, b, c)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    print(' '.join(map(str, sorted(list(map(int, input().split()))))))


main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

numasc = sorted(num)

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

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
list = [a,b,c]
x= sorted(list)

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

Submission status: Accepted

Solution code:
a, b, c= [int(x) for x in input().split()]
n = max(a, b, c)
m = min(a, b, c)
p = a + b + c - m - n
print(m, p, n)

Submission status: Accepted

Solution code:
numbers = input().split()
print (" ".join(sorted(numbers)))

Submission status: Accepted

Solution code:
string_list = input().split()
num_list = list(map(int, string_list))
num_list.sort()
string = ''
for i in range(len(num_list)):
    string = string + str(num_list[i]) + ' '
print(string.rstrip())

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def sort_three_numbers(num:list) -> None:
    if len(num) != 3:
        raise ValueError('Few input.')
    if any([n < 1 or n > 10000 for n in num]):
        raise ValueError('Input integer is invalid.')

    sorted_str = [str(n) for n in sorted(num)]
    print(' '.join(sorted_str))

if __name__ == "__main__":
    in_str = input()
    in_list = [int(x) for x in in_str.split()]
    sort_three_numbers(in_list)

Submission status: Accepted

Solution code:
a,b,c = (int(x) for x in input().split())
if(b<a):
    tmp = b
    b = a
    a = tmp
if(c<b):
    tmp = c
    c = b
    b = tmp
if(b<a):
    tmp = a
    a = b
    b = tmp

print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
nums = sorted([int(s) for s in input().split()])
print('{} {} {}'.format(nums[0], nums[1], nums[2]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
L = list(map(int,input().split()))
L.sort()
print(*L)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
list = [a, b, c]
list.sort()
f=list[0]
s=list[1]
t=list[2]
print("{} {} {}".format(f, s, t))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

values = (int(n) for n in sys.stdin.read().strip().split())
print(' '.join(map(str, sorted(values))))

Submission status: Accepted

Solution code:
#ITP1_2_C
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)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

for i in range(len(num)):
    if i==0:
        print(num[0],end="")
    else:
        print(" "+str(num[i]),end="")

print()

Submission status: Accepted

Solution code:
l = sorted([int(x) for x in input().split()])
print(l[0], l[1], l[2])

Submission status: Accepted

Solution code:
data = input().split()

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

intData = [a, b, c]

intData.sort()

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

Submission status: Accepted

Solution code:
l = list(map(int,input().split()))
l.sort()
s = ""
for i in l:
    s += str(i) + " "
else:
    print(s[:len(s)-1])

Submission status: Accepted

Solution code:
l=list(input().split())
l1=sorted(l)
print(" ".join(l1))

Submission status: Accepted

Solution code:
z = input()
a,b,c = [ int(x) for x in z.split() ]
if a > b and a > c:
    if b > c:
        print (str(c) + " " + str(b) + " " + str(a))
    else:
        print (str(b) + " " + str(c) + " " + str(a))
elif b > a and b > c:
    if a > c:
        print (str(c) + " " + str(a) + " " + str(b))
    else:
        print (str(a) + " " + str(c) + " " + str(b))
else:
    if b > a:
        print (str(a) + " " + str(b) + " " + str(c))
    else:
        print (str(b) + " " + str(a) + " " + str(c))

Submission status: Accepted

Solution code:
try:
    (a,b,c)  =  map(int,input().split())
except:
    exit

n = [a,b,c]
n.sort()
print ('{0[0]} {0[1]} {0[2]}'.format(n))

Submission status: Accepted

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

l.sort()

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

Submission status: Accepted

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

Submission status: Accepted

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

if a > b:
    t = a
    a = b
    b = t

if b > c:
    t = c
    c = b
    b = t

if a > b:
    t = a
    a = b
    b = t

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

Submission status: Accepted

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

Submission status: Accepted

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

L = sorted(L)

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

Submission status: Accepted

Solution code:
input_line = input().split()
n = list(map(int, input_line))
n.sort()
n = list(map(str, n))
print(" ".join(n))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
numbers = list(map(int, sys.stdin.readline().split()))
numbers.sort()
print(' '.join(map(str,numbers)))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
val_list = list(map(int,input().split()))
sort_list = sorted(val_list)
print(*sort_list, sep=' ')

Submission status: Accepted

Solution code:
line = input().split()
line.sort()

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

Submission status: Accepted

Solution code:
L = list(map(int, input().split()))
L.sort()
print(*L)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = list(map(int,input().split()))
X.sort()
print(*X)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
list = [a,b,c]

list.sort()
a1 = str(list[0])
a2 = str(list[1])
a3 = str(list[2])
print(a1+" "+a2+" "+a3)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if a > b:
        s = a
        a = b
        b = s
        
if b > c:
        s = b
        b = c
        c = s
        
if a > b:
        s = a
        a = b
        b = s

print (a,b,c)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
lst = list(map(int, input().split()))
print(*(sorted(lst)))

Submission status: Accepted

Solution code:
data1=list(int(i) for i in input().split())
data1.sort()
data2=map(str,data1)
data3=' '.join(data2)
print(data3)

Submission status: Accepted

Solution code:
num = sorted([int(i) for i in input().split(" ")], reverse = False)
print(num[0], num[1], num[2])

Submission status: Accepted

Solution code:
seq=list(map(int,input().split()))
seq.sort()
print(str(seq[0])+' '+str(seq[1])+' '+str(seq[2]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = map(int,input().split())
list =[a, b, c]
new_list = sorted(list)
print(' '.join(map(str,new_list)))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
f = a
s = b
t = c
if f > s:
 w = f
 f = s
 s = w
if s > t:
 x = s
 s = t
 t = x
if f > s:
 y = f
 f = s
 s = y
print(f, s, t)

Submission status: Accepted

Solution code:
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 a > c:
        if b > c: print("{} {} {}".format(c, b, a))
        else: print("{} {} {}".format(b, c, a))
    else:print("{} {} {}".format(b, a, c))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input().split()
a.sort()
print(' '.join(a))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding : utf-8
a, b, c = map(int, input().split())
if a < b:
    if b < c:
        print (a, b, c)
    else:
        if a < c:
            print (a, c, b)
        else:
            print (c, a, b)
else: # b < a
    if a < c:
        print (b, a, c)
    else: # c < a
        if b < c:
            print (b, c, a)
        else:
            print (c, b, a)

Submission status: Accepted

Solution code:
# coding:utf-8
L=list(map(int,input().split()))
L.sort();
for i,n in enumerate(L):
    print(n,end='')
    if i<2 :
        print(" ",end='')
    else :
        print("")

Submission status: Accepted

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

Submission status: Accepted

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

min = a
max = c

if min-b>0:
    min = b
if (min-c)>0:
    min = c

if max-a<=0:
    max=a
if max-b<=0:
    max=b


if (a!=min and a!=max):
    mid = a

elif b!=min and b!=max:
    mid = b

elif c!=min and c!=max:
    mid = c
else:
    mid = min
print(min, mid, max)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list = [int(i) for i in input().strip().split()]
for i in range(len(list) - 1):
    for j in range(1, len(list) - i):
        if list[j - 1] > list[j]:
            tmp = list[j]
            list[j] = list[j - 1]
            list[j - 1] = tmp
print(" ".join(map(str, list)))

Submission status: Accepted

Solution code:
a = list(map(int,input().split()))
a.sort()
for i in range(len(a)):
    if i < 2:
        print(a[i],end=" ")
    else:
        print(a[i])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
inputs = input().split()
inputs_int = []
for i in inputs:
    inputs_int.append(int(i))
result = sorted(inputs_int)
print("{0} {1} {2}".format(result[0], result[1], result[2]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input().split()
S.sort()
S_str = map(str, S)
print(' '.join(S_str))

Submission status: Accepted

Solution code:
lst = map(int, input().split())
a, b, c = sorted(lst)
print("{0} {1} {2}".format(a, b, c))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = map(str, input().split())
print((' '.join(sorted([a, b, c]))))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a = input()
b = a.split()
b.sort()
for i in range(len(b)):
    if i < len(b)-1:
        print(b[i] + ' ', end = '')
    else:
        print(b[i])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if 1 <= all(a) <= 10000:
    if a[1] < a[0]:
        a[0], a[1] = a[1], a[0]
    if a[2] < a[0]:
        a[0], a[2] = a[2], a[0]
    if a[2] < a[1]:
        a[1], a[2] = a[2], a[1]
else:
    print("error")

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

Submission status: Accepted

Solution code:
abc = input().split(' ')
a = int(abc[0])
b = int(abc[1])
c = int(abc[2])
li = sorted([a,b,c])
st = ''
for i in li:
	st += str(i) +' '
print(st[:len(st)-1])

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

def main():

	a,b,c = map(int,raw_input().split())
	for i in xrange(2):
		if a > b:
			a,b = sort(a,b)
		if b > c:
			b,c = sort(b,c)
	print('%d %d %d' % (a,b,c))

def sort(x,y):

	temp = x
	x = y
	y = temp
	return x,y

if __name__ == "__main__":

	main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Runtime Error

Solution code:
hoge = list(map(int, input().split()))
ret = sorted(hoge)
print(str(ret[0]+" "+str(ret[1])+" "+str(ret[2]))

Submission status: Runtime Error

Solution code:
a,b,c = [int(i) for i in input().split()]
if a<b<c :
    print("Yes")

else :
    print("No")
number = [int(i) for i in input().split()]
number.sort()
print(number)

Submission status: Runtime Error

Solution code:
number = [int(i) for i in input().split()]
number.sort()
print(' '.join(number))

Submission status: Runtime Error

Solution code:
number = [for i in input().split()]
number.sort()
print(' '.join(number))

Submission status: Runtime Error

Solution code:
s=input().split()
a=int(s[0])
b=int(s[1])
c=int(s[2])
num=[a,b,c]
num.sort()
print(str(num[0])+" "+str(num[1]+" "+str(num[2])))

Submission status: Runtime Error

Solution code:
s=input().split()
a=int(s[0])
b=int(s[1])
c=int(s[2])
num=[a,b,c]
num.sort()
print(str(num[0])+" "+str(num[1])+" "+str(num[2])))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
d=raw_input()
d=d.split(" ")
d=list(map(int,d))
d=d.sort()
a=str(d[0])
b=str(d[1])
c=str(d[2])
print a+" "+b+" "+c

Submission status: Runtime Error

Solution code:
a=input()
b=a.split()
plint(b)

Submission status: Runtime Error

Solution code:
a=input()
b=a.split()
plint(sorted.b)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

a = int(a)
b = int(b)
c = int(c)

x, y, z = sort(a, b, c)

print(x, y, x, split=" ")

Submission status: Runtime Error

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

a = int(a)
b = int(b)
c = int(c)

x, y, z = sort(a, b, c)

print(x, y, x)

Submission status: Runtime Error

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

a = int(a)
b = int(b)
c = int(c)

x, y, z = sort(a, b, c)

print(x, y, x)

Submission status: Runtime Error

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

a.sort()

print(a)

Submission status: Runtime Error

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

a.sort()

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

Submission status: Runtime Error

Solution code:
table=list(map(int,input().split()))
i=2
k=0
if k < i :
    while table[k] > table[k+1] :
        table[k],table[k+1]=table[k+1],table[k]
        k+=1
print(table[0],table[1],table[2])

Submission status: Runtime Error

Solution code:
data = [int(i) for i in input.split()]
out = ' '.join([str(i) for i in sorted(data)])
print(out)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
InData=input().split
Indata = map(int, InData)
sorted = sort(InData)
print(' '.join(map(str, sorted)))

Submission status: Runtime Error

Solution code:
InData=input().split
Indata = map(int, InData)
sorted = sorted(InData)
print(' '.join(map(str, sorted)))

Submission status: Runtime Error

Solution code:
a=input()
    b=a.split()
    c=list()
    for d in b:
        c.append(int(d))
    d=sorted(c)
    print(d[0],d[1],d[2])

Submission status: Runtime Error

Solution code:
def swap(a,b):
	x = a
	a = b
	b = x
	
'''
l = input().split()

l = list(map(int, l))
a,b,c = l[0],l[1],l[2]
'''
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)

Submission status: Runtime Error

Solution code:

'''
l = input().split()

l = list(map(int, l))
a,b,c = l[0],l[1],l[2]
'''
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)

Submission status: Runtime Error

Solution code:
three=input()
a=three.split()[0]
b=three.split()[1]
c=three.split()[2]

d=min(a,b)
e=max(a,b)

if c<d:
 print("{0} {1} {2}".format(c,d,e))
elif c>e:
 print("{0} {1} {2}".format(d,e,c))
else
print("{0} {1} {2}".format(d,,c,e))

Submission status: Runtime Error

Solution code:
three=input()
a=three.split()[0]
b=three.split()[1]
c=three.split()[2]

d=min(a,b)
e=max(a,b)

if c<d:
 print("{0} {1} {2}".format(c,d,e))
elif c>e:
 print("{0} {1} {2}".format(d,e,c))
else:
 print("{0} {1} {2}".format(d,c,e))

Submission status: Runtime Error

Solution code:
three=input()
a=three.split()[0]
b=three.split()[1]
c=three.split()[2]

d=min(a,b)
e=max(a,b)

if c<d:
  print("{0} {1} {2}".format(c,d,e))
elif c>e:
  print("{0} {1} {2}".format(d,e,c))
else:
  print("{0} {1} {2}".format(d,c,e))

Submission status: Runtime Error

Solution code:
three=input()
a=three.split(" ")[0]
b=three.split(" ")[1]
c=three.split(" ")[2]

d=min(a,b)
e=max(a,b)

if c<d:
  print("{0} {1} {2}".format(c,d,e))
elif c>e:
  print("{0} {1} {2}".format(d,e,c))
else:
  print("{0} {1} {2}".format(d,c,e))

Submission status: Runtime Error

Solution code:
ko

Submission status: Runtime Error

Solution code:
s

Submission status: Runtime Error

Solution code:
a,b,c = input.split()
a = int(3)
b = int(2)
c = int(4)
numbers = [a,b,c]
numbers.sort()
print(numbers)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b,c = map(int, input().split())
　org_list =[a, b, c]
　org_list.sort()
print(org_list)

Submission status: Runtime Error

Solution code:
a,b,c = map(int, input().split())
org_list =[a, b, c]　
org_list.sort()
print(org_list)

Submission status: Runtime Error

Solution code:
p = [x, y, z]
x, y, z = map(int, input().split())

p.sort()
print(p)

Submission status: Runtime Error

Solution code:
array = input().split().sort()

for i in range(len(array)):
    print(array[i], end="")

Submission status: Runtime Error

Solution code:
array = input().split().sort()

for i in range(0..2):
    print(array[i], end="")

Submission status: Runtime Error

Solution code:
array = input().split().sort()

for i in array:
    print(i, end="")

Submission status: Runtime Error

Solution code:
array = input().split().sort())

for i in array:
    print(i, end="")

Submission status: Runtime Error

Solution code:
nums = [int(e) for e in input().split()]
for i in range(len(nums)):
    for j in range(i):
        if nums[i]<nums[j]:
            a = nums[i]
            nums[i] = nums[j]
            nums[j] = a

nums_2 = " ".join(nums)
print(nums_2)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x = [int(x) for x in input().split()]
print('{} {} {}'.format(sorted(x)))

Submission status: Runtime Error

Solution code:
numbers = list(map(int, input().split()))

for i in range(len(numbers)-1):
    for j in range(len(numbers)-1-i):
        if(numbers[j] > numbers[j+i]):
            temp = numbers[j]
            numbers[j] = numbers[j+1]
            numbers[j+1] = temp
            
print(f'numbers[0] numbers[1] numbers[2])

Submission status: Runtime Error

Solution code:
a,b,c = map(int,input().split())
x = a,b,c
x.sort()
print(x)

Submission status: Runtime Error

Solution code:
#入力
n = int(input())
a = list(map(int,input().split()))

a.reverse()

print(*a)

Submission status: Runtime Error

Solution code:
#a, b, c = map(int, input(). split())
na = list(map(int, input(). split()))
#print(dir(ns))
ns. sort()
#print(ns[0], ns[1], ns[2])
print(ns)
print(*ns)

Submission status: Runtime Error

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

a.sort
print(*a)

Submission status: Runtime Error

Solution code:
num = list(map(int,input().split()))
list = []

for i in num:
    if(i == 0): list.append(num[i])
    else: 
        if(list[i-1] > num[i]):
            list.append = list[i]
            list[i-1] = num[i]

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
[a,b,c] = raw_input().split(' ')
a = int(a)
b = int(b)
c = int(c)
t = sort([a,b,c])
print t[0],t[1],t[2]

Submission status: Runtime Error

Solution code:
for i, a in enumerate(list(map(lambda a : int(a), input().split(" ")))[::-1]):
　　　　if i == 0:
　　　　　　　　print("%d" % a, end ="")
　　　　else:
　　　　　　　　print(" %d"% a, end ="")

Submission status: Runtime Error

Solution code:
num_list = map(int, raw_input().split())
print ' '.join(map(str, sorted(numlist))

Submission status: Runtime Error

Solution code:
seq = map(int,raw_input().split())

print "バブルソート実行"
for i in range(len(seq)):
    for j in range(i,len(seq)-1):
        if seq[i] > seq[j+1]:
            a = seq[j+1]
            seq[j+1] = seq[i]
            seq[i] = a
        print i,j+1,seq

Submission status: Runtime Error

Solution code:
lists = list(int, raw_input().split())
print sorted(lists)

Submission status: Runtime Error

Solution code:
a,b,c = map(int, raw_input().split())
lists = [a,b,c]
new_list = sorted(lists)
print new_lists[0], new_lists[1], new_lists[2]