AIR = list(map(int, input().split()))
print(sum(sorted(AIR)[0:2]))  AIR = list(map(int, input().split())) AIR list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split print(sum(sorted(AIR)[0:2])) print sum(sorted(AIR)[0:2]) sum sorted(AIR)[0:2] (AIR) sorted AIR 0:2 0 2 AIR = list(map(int, input().split())) list(map(int, input().split())) AIR
AIR = list(map(int, input().split()))
print(sum(sorted(AIR)[0:2])) 