import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt();//AtoB
		int B = sc.nextInt();//BtoC
		int C = sc.nextInt();//CtoA
		int[] ans = { A + B, A + C, B + C };
		int min = 10000;
		for (int a : ans) {
			if (min > a) {
				min = a;
			}
		}

		System.out.println(min);
		sc.close();
	}
} 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();//AtoB
		int B = sc.nextInt();//BtoC
		int C = sc.nextInt();//CtoA
		int[] ans = { A + B, A + C, B + C };
		int min = 10000;
		for (int a : ans) {
			if (min > a) {
				min = a;
			}
		}

		System.out.println(min);
		sc.close();
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt();//AtoB
		int B = sc.nextInt();//BtoC
		int C = sc.nextInt();//CtoA
		int[] ans = { A + B, A + C, B + C };
		int min = 10000;
		for (int a : ans) {
			if (min > a) {
				min = a;
			}
		}

		System.out.println(min);
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt();//AtoB
		int B = sc.nextInt();//BtoC
		int C = sc.nextInt();//CtoA
		int[] ans = { A + B, A + C, B + C };
		int min = 10000;
		for (int a : ans) {
			if (min > a) {
				min = a;
			}
		}

		System.out.println(min);
		sc.close();
	} 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[] ans = { A + B, A + C, B + C }; ans { A + B, A + C, B + C } A + B A B A + C A C B + C B C int min = 10000; min 10000 for (int a : ans) {
			if (min > a) {
				min = a;
			}
		} int a ans {
			if (min > a) {
				min = a;
			}
		} {
			if (min > a) {
				min = a;
			}
		} if (min > a) {
				min = a;
			} min > a min a {
				min = a;
			} min = a min a System.out.println(min) System.out.println System.out System System.out min sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt();//AtoB
		int B = sc.nextInt();//BtoC
		int C = sc.nextInt();//CtoA
		int[] ans = { A + B, A + C, B + C };
		int min = 10000;
		for (int a : ans) {
			if (min > a) {
				min = a;
			}
		}

		System.out.println(min);
		sc.close();
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt();//AtoB
		int B = sc.nextInt();//BtoC
		int C = sc.nextInt();//CtoA
		int[] ans = { A + B, A + C, B + C };
		int min = 10000;
		for (int a : ans) {
			if (min > a) {
				min = a;
			}
		}

		System.out.println(min);
		sc.close();
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt();//AtoB
		int B = sc.nextInt();//BtoC
		int C = sc.nextInt();//CtoA
		int[] ans = { A + B, A + C, B + C };
		int min = 10000;
		for (int a : ans) {
			if (min > a) {
				min = a;
			}
		}

		System.out.println(min);
		sc.close();
	}
}
