# -*- coding: utf-8 -*-
from sys import stdin
input = stdin.readline

A = list(map(int, input().split()))

A.sort()

print(A[0] + A[1]) from sys import stdin input = stdin.readline input stdin.readline stdin readline A = list(map(int, input().split())) A list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () 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 A = list(map(int, input().split())) list(map(int, input().split())) A input = stdin.readline stdin.readline input
# -*- coding: utf-8 -*-
from sys import stdin
input = stdin.readline

A = list(map(int, input().split()))

A.sort()

print(A[0] + A[1])