import math
def ip():return int(input())
def inp():return map(int,input().split())
def linp():return list(map(int,input().split()))
a,b,c=inp()
print(a+b+c-max(max(a,b),c)) import math math def ip():return int(input()) ip def inp():return map(int,input().split()) inp def linp():return list(map(int,input().split())) linp a,b,c=inp() a inp() inp b c print(a+b+c-max(max(a,b),c)) print a+b+c-max(max(a,b),c) a+b+c a+b a b c max(max(a,b),c) max max(a,b) max a b c c=inp() inp() c a,b,c=inp() inp() a def inp():return map(int,input().split()) def inp():return map(int,input().split()) inp def linp():return list(map(int,input().split())) def linp():return list(map(int,input().split())) linp b,c=inp() inp() b def ip():return int(input()) def ip():return int(input()) ip
import math
def ip():return int(input())
def inp():return map(int,input().split())
def linp():return list(map(int,input().split()))
a,b,c=inp()
print(a+b+c-max(max(a,b),c))
