#!/usr/bin/env python3
(*a, ) = map(int, input().split())
a.sort()
print(sum(a[:2])) (*a, ) = map(int, input().split()) *a a map(int, input().split()) map int input().split() ().split () input split a.sort() a.sort a sort print(sum(a[:2])) print sum(a[:2]) sum a[:2] a :2 2
#!/usr/bin/env python3
(*a, ) = map(int, input().split())
a.sort()
print(sum(a[:2]))
