import java.util.Scanner;

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 s = 0;
		sc.close();
		if(A>=B && A>=C) {
			s = B+C;
		}else if(B>=A && B>=C) {
			s = A+C;
		}else {
			s = A+B;
		}
		System.out.println(s);
	}

} import java.util.Scanner; Scanner 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 s = 0;
		sc.close();
		if(A>=B && A>=C) {
			s = B+C;
		}else if(B>=A && B>=C) {
			s = A+C;
		}else {
			s = A+B;
		}
		System.out.println(s);
	}

} 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 s = 0;
		sc.close();
		if(A>=B && A>=C) {
			s = B+C;
		}else if(B>=A && B>=C) {
			s = A+C;
		}else {
			s = A+B;
		}
		System.out.println(s);
	} main {
		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();
		int s = 0;
		sc.close();
		if(A>=B && A>=C) {
			s = B+C;
		}else if(B>=A && B>=C) {
			s = A+C;
		}else {
			s = A+B;
		}
		System.out.println(s);
	} 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 s = 0; s 0 sc.close() sc.close sc if(A>=B && A>=C) {
			s = B+C;
		}else if(B>=A && B>=C) {
			s = A+C;
		}else {
			s = A+B;
		} A>=B && A>=C A>=B A B A>=C A C {
			s = B+C;
		} s = B+C s B+C B C if(B>=A && B>=C) {
			s = A+C;
		}else {
			s = A+B;
		} B>=A && B>=C B>=A B A B>=C B C {
			s = A+C;
		} s = A+C s A+C A C {
			s = A+B;
		} s = A+B s A+B A B System.out.println(s) System.out.println System.out System System.out s 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 s = 0;
		sc.close();
		if(A>=B && A>=C) {
			s = B+C;
		}else if(B>=A && B>=C) {
			s = A+C;
		}else {
			s = A+B;
		}
		System.out.println(s);
	}

} 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 s = 0;
		sc.close();
		if(A>=B && A>=C) {
			s = B+C;
		}else if(B>=A && B>=C) {
			s = A+C;
		}else {
			s = A+B;
		}
		System.out.println(s);
	}

} Main
import java.util.Scanner;

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 s = 0;
		sc.close();
		if(A>=B && A>=C) {
			s = B+C;
		}else if(B>=A && B>=C) {
			s = A+C;
		}else {
			s = A+B;
		}
		System.out.println(s);
	}

}