import java.util.Scanner;
import java.util.Arrays;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int min = a + b;
		if(b + c < min){
			min = b + c;
		}
		if(c + a < min){
			min = c + a;
		}
		System.out.println(min);
	}
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int min = a + b;
		if(b + c < min){
			min = b + c;
		}
		if(c + a < min){
			min = c + a;
		}
		System.out.println(min);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int min = a + b;
		if(b + c < min){
			min = b + c;
		}
		if(c + a < min){
			min = c + a;
		}
		System.out.println(min);
	} main {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int min = a + b;
		if(b + c < min){
			min = b + c;
		}
		if(c + a < min){
			min = c + a;
		}
		System.out.println(min);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc int min = a + b; min a + b a b if(b + c < min){
			min = b + c;
		} b + c < min b + c b c min {
			min = b + c;
		} min = b + c min b + c b c if(c + a < min){
			min = c + a;
		} c + a < min c + a c a min {
			min = c + a;
		} min = c + a min c + a c a System.out.println(min) System.out.println System.out System System.out min String[] args args public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int min = a + b;
		if(b + c < min){
			min = b + c;
		}
		if(c + a < min){
			min = c + a;
		}
		System.out.println(min);
	}
} public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int min = a + b;
		if(b + c < min){
			min = b + c;
		}
		if(c + a < min){
			min = c + a;
		}
		System.out.println(min);
	}
} Main
import java.util.Scanner;
import java.util.Arrays;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int min = a + b;
		if(b + c < min){
			min = b + c;
		}
		if(c + a < min){
			min = c + a;
		}
		System.out.println(min);
	}
}
