import java.util.*;
import java.io.*;

public class Main{
	public static void main(String[] args){

		
		Scanner stdIn = new Scanner(System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();

		int ans = a + b;
		if(ans > a + c){
			ans = a + c;
		}
		if(ans > b + c){
			ans = b + c;
		}
		System.out.println(ans);
  
	}
} import java.util.*; util.* java import java.io.*; io.* java public class Main{
	public static void main(String[] args){

		
		Scanner stdIn = new Scanner(System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();

		int ans = a + b;
		if(ans > a + c){
			ans = a + c;
		}
		if(ans > b + c){
			ans = b + c;
		}
		System.out.println(ans);
  
	}
} Main public static void main(String[] args){

		
		Scanner stdIn = new Scanner(System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();

		int ans = a + b;
		if(ans > a + c){
			ans = a + c;
		}
		if(ans > b + c){
			ans = b + c;
		}
		System.out.println(ans);
  
	} main {

		
		Scanner stdIn = new Scanner(System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();

		int ans = a + b;
		if(ans > a + c){
			ans = a + c;
		}
		if(ans > b + c){
			ans = b + c;
		}
		System.out.println(ans);
  
	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int a = stdIn.nextInt(); a stdIn.nextInt() stdIn.nextInt stdIn int b = stdIn.nextInt(); b stdIn.nextInt() stdIn.nextInt stdIn int c = stdIn.nextInt(); c stdIn.nextInt() stdIn.nextInt stdIn int ans = a + b; ans a + b a b if(ans > a + c){
			ans = a + c;
		} ans > a + c ans a + c a c {
			ans = a + c;
		} ans = a + c ans a + c a c if(ans > b + c){
			ans = b + c;
		} ans > b + c ans b + c b c {
			ans = b + c;
		} ans = b + c ans b + c b c System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main{
	public static void main(String[] args){

		
		Scanner stdIn = new Scanner(System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();

		int ans = a + b;
		if(ans > a + c){
			ans = a + c;
		}
		if(ans > b + c){
			ans = b + c;
		}
		System.out.println(ans);
  
	}
} public class Main{
	public static void main(String[] args){

		
		Scanner stdIn = new Scanner(System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();

		int ans = a + b;
		if(ans > a + c){
			ans = a + c;
		}
		if(ans > b + c){
			ans = b + c;
		}
		System.out.println(ans);
  
	}
} Main
import java.util.*;
import java.io.*;

public class Main{
	public static void main(String[] args){

		
		Scanner stdIn = new Scanner(System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();

		int ans = a + b;
		if(ans > a + c){
			ans = a + c;
		}
		if(ans > b + c){
			ans = b + c;
		}
		System.out.println(ans);
  
	}
}