hahaha,我太菜了吧
a = int(input())
b = int(input())
c = int(input())
lst = [a,b,c]
print(min(a,b,c))
print(sorted(lst))