import sys
import math
import itertools as it
def I():return int(sys.stdin.readline().replace("\n",""))
def I2():return map(int,sys.stdin.readline().replace("\n","").split())
def S():return str(sys.stdin.readline().replace("\n",""))
def L():return list(sys.stdin.readline().replace("\n",""))
def Intl():return [int(k) for k in sys.stdin.readline().replace("\n","").split()]
def Lx(k):return list(map(lambda x:int(x)*-k,sys.stdin.readline().replace("\n","").split()))

if __name__ == "__main__":
    a,b,c = I2()
    print(min(a+b,b+c,a+c)) import sys sys import math math import itertools as it itertools def I():return int(sys.stdin.readline().replace("\n","")) I def I2():return map(int,sys.stdin.readline().replace("\n","").split()) I2 def S():return str(sys.stdin.readline().replace("\n","")) S def L():return list(sys.stdin.readline().replace("\n","")) L int(k) for k in sys.stdin.readline().replace("\n","").split() for k in sys.stdin.readline().replace("\n","").split() k sys.stdin.readline().replace("\n","").split() sys.stdin.readline().replace("\n","").split sys.stdin.readline().replace("\n","") sys.stdin.readline().replace sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline replace "\n" "" split for k in sys.stdin.readline().replace("\n","").split() int(k) int k def Intl():return [int(k) for k in sys.stdin.readline().replace("\n","").split()] Intl def Lx(k):return list(map(lambda x:int(x)*-k,sys.stdin.readline().replace("\n","").split())) Lx k k if __name__ == "__main__":
    a,b,c = I2()
    print(min(a+b,b+c,a+c)) __name__ == "__main__" __name__ "__main__" a,b,c = I2() a I2() I2 b c print(min(a+b,b+c,a+c)) print min(a+b,b+c,a+c) min a+b a b b+c b c a+c a c def Lx(k):return list(map(lambda x:int(x)*-k,sys.stdin.readline().replace("\n","").split())) def Lx(k):return list(map(lambda x:int(x)*-k,sys.stdin.readline().replace("\n","").split())) Lx c = I2() I2() c def S():return str(sys.stdin.readline().replace("\n","")) def S():return str(sys.stdin.readline().replace("\n","")) S def I():return int(sys.stdin.readline().replace("\n","")) def I():return int(sys.stdin.readline().replace("\n","")) I a,b,c = I2() I2() a b,c = I2() I2() b def Intl():return [int(k) for k in sys.stdin.readline().replace("\n","").split()] def Intl():return [int(k) for k in sys.stdin.readline().replace("\n","").split()] Intl def L():return list(sys.stdin.readline().replace("\n","")) def L():return list(sys.stdin.readline().replace("\n","")) L def I2():return map(int,sys.stdin.readline().replace("\n","").split()) def I2():return map(int,sys.stdin.readline().replace("\n","").split()) I2
import sys
import math
import itertools as it
def I():return int(sys.stdin.readline().replace("\n",""))
def I2():return map(int,sys.stdin.readline().replace("\n","").split())
def S():return str(sys.stdin.readline().replace("\n",""))
def L():return list(sys.stdin.readline().replace("\n",""))
def Intl():return [int(k) for k in sys.stdin.readline().replace("\n","").split()]
def Lx(k):return list(map(lambda x:int(x)*-k,sys.stdin.readline().replace("\n","").split()))

if __name__ == "__main__":
    a,b,c = I2()
    print(min(a+b,b+c,a+c))