a, b, c = list(map(int, input().split(' ')))
m = c
if a < m:
m = a
if b < m:
m = b
print(m)
a,b,c = list(map(int,input().split(' ')))
if a < b:
min = a
else: min = b
if c < min:
min = c
print(min)
a,b,c = input().split()
a,b,c = int(a),int(b),int(c)
if a<=b and a<=c:
if a==b or a==c:
if a==b and a!=c:
print(a,b)
elif a==c and a!=b:
print(a,c)
else:
print(a,b,c)
else:
print(a)
elif b<=c:
if b==c:
print(b,c)
elif b print(b)
else:
print(c)
a,b,c = input().split()
a,b,c == int(a),int(b),int(c)
if a<=b and a<=c:
if a==b or a==c:
if a==b and a!=c:
print(a,b)
elif a==c and a!=b:
print(a,c)
else:
print(a,b,c)
else:
print(a)
elif b<=c:
if b==c:
print(b,c)
elif b<c:
print(b)
else:
print(c)