def main():
    A = sorted(list(map(int, input().split())))
    print(A[0] + A[1])


if __name__ == '__main__':
    main() def main():
    A = sorted(list(map(int, input().split())))
    print(A[0] + A[1]) main A = sorted(list(map(int, input().split()))) A sorted(list(map(int, input().split()))) sorted list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split 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 = sorted(list(map(int, input().split())))
    print(A[0] + A[1]) def main():
    A = sorted(list(map(int, input().split())))
    print(A[0] + A[1]) main
def main():
    A = sorted(list(map(int, input().split())))
    print(A[0] + A[1])


if __name__ == '__main__':
    main()