a,b,c,d = int(input()), int(input()), int(input()), int(input())
print(min(a,b,c,d),max(a,b,c,d))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
a,b,c,d = int(input()), int(input()), int(input()), int(input())
print(min(a,b,c,d),max(a,b,c,d))