#129A
# 1.値を正しく取得
a, b, c = (int(x) for x in input().split())

# 2.正しく処理
gokei1 = a + b
gokei2 = a + c
gokei3 = b + c

resalt=[gokei1,gokei2,gokei3]

print(min(resalt)) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x a, b, c = (int(x) for x in input().split()) a (int(x) for x in input().split()) b c gokei1 = a + b gokei1 a + b a b gokei2 = a + c gokei2 a + c a c gokei3 = b + c gokei3 b + c b c resalt=[gokei1,gokei2,gokei3] resalt [gokei1,gokei2,gokei3] gokei1 gokei2 gokei3 print(min(resalt)) print min(resalt) min resalt a, b, c = (int(x) for x in input().split()) (int(x) for x in input().split()) a gokei1 = a + b a + b gokei1 c = (int(x) for x in input().split()) (int(x) for x in input().split()) c gokei3 = b + c b + c gokei3 resalt=[gokei1,gokei2,gokei3] [gokei1,gokei2,gokei3] resalt gokei2 = a + c a + c gokei2 b, c = (int(x) for x in input().split()) (int(x) for x in input().split()) b
#129A
# 1.値を正しく取得
a, b, c = (int(x) for x in input().split())

# 2.正しく処理
gokei1 = a + b
gokei2 = a + c
gokei3 = b + c

resalt=[gokei1,gokei2,gokei3]

print(min(resalt))