import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner in = new java.util.Scanner(System.in);
		int A = in.nextInt();
		int B = in.nextInt();
		int C = in.nextInt();
		
		int r1 = A+B;
		int r2 = B+C;
		int r3 = C+A;
		
		int ans = Math.min(Math.min(r1, r2), r3);
	
		System.out.println(ans);
		
		in.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner in = new java.util.Scanner(System.in);
		int A = in.nextInt();
		int B = in.nextInt();
		int C = in.nextInt();
		
		int r1 = A+B;
		int r2 = B+C;
		int r3 = C+A;
		
		int ans = Math.min(Math.min(r1, r2), r3);
	
		System.out.println(ans);
		
		in.close();
	}
} Main public static void main(String[] args){
		Scanner in = new java.util.Scanner(System.in);
		int A = in.nextInt();
		int B = in.nextInt();
		int C = in.nextInt();
		
		int r1 = A+B;
		int r2 = B+C;
		int r3 = C+A;
		
		int ans = Math.min(Math.min(r1, r2), r3);
	
		System.out.println(ans);
		
		in.close();
	} main {
		Scanner in = new java.util.Scanner(System.in);
		int A = in.nextInt();
		int B = in.nextInt();
		int C = in.nextInt();
		
		int r1 = A+B;
		int r2 = B+C;
		int r3 = C+A;
		
		int ans = Math.min(Math.min(r1, r2), r3);
	
		System.out.println(ans);
		
		in.close();
	} Scanner in = new java.util.Scanner(System.in); in new java.util.Scanner(System.in) int A = in.nextInt(); A in.nextInt() in.nextInt in int B = in.nextInt(); B in.nextInt() in.nextInt in int C = in.nextInt(); C in.nextInt() in.nextInt in int r1 = A+B; r1 A+B A B int r2 = B+C; r2 B+C B C int r3 = C+A; r3 C+A C A int ans = Math.min(Math.min(r1, r2), r3); ans Math.min(Math.min(r1, r2), r3) Math.min Math Math.min(r1, r2) Math.min Math r1 r2 r3 System.out.println(ans) System.out.println System.out System System.out ans in.close() in.close in String[] args args public class Main {
	public static void main(String[] args){
		Scanner in = new java.util.Scanner(System.in);
		int A = in.nextInt();
		int B = in.nextInt();
		int C = in.nextInt();
		
		int r1 = A+B;
		int r2 = B+C;
		int r3 = C+A;
		
		int ans = Math.min(Math.min(r1, r2), r3);
	
		System.out.println(ans);
		
		in.close();
	}
} public class Main {
	public static void main(String[] args){
		Scanner in = new java.util.Scanner(System.in);
		int A = in.nextInt();
		int B = in.nextInt();
		int C = in.nextInt();
		
		int r1 = A+B;
		int r2 = B+C;
		int r3 = C+A;
		
		int ans = Math.min(Math.min(r1, r2), r3);
	
		System.out.println(ans);
		
		in.close();
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner in = new java.util.Scanner(System.in);
		int A = in.nextInt();
		int B = in.nextInt();
		int C = in.nextInt();
		
		int r1 = A+B;
		int r2 = B+C;
		int r3 = C+A;
		
		int ans = Math.min(Math.min(r1, r2), r3);
	
		System.out.println(ans);
		
		in.close();
	}
}
