def main():
    A=[int(i) for i in input().split()]
    A.sort()
    print(A[0]+A[1])


if __name__ == '__main__':
    main() def main():
    A=[int(i) for i in input().split()]
    A.sort()
    print(A[0]+A[1]) main int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i A=[int(i) for i in input().split()] A [int(i) for i in input().split()] A.sort() A.sort A sort print(A[0]+A[1]) print A[0]+A[1] A[0] A 0 A[1] A 1 if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    A=[int(i) for i in input().split()]
    A.sort()
    print(A[0]+A[1]) def main():
    A=[int(i) for i in input().split()]
    A.sort()
    print(A[0]+A[1]) main
def main():
    A=[int(i) for i in input().split()]
    A.sort()
    print(A[0]+A[1])


if __name__ == '__main__':
    main()
