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();
		if(a + b <= b + c && a + b <= c + a) {
			System.out.println(a + b);
		}else if(b + c <= a + b && b + c <= c + a) {
			System.out.println(b + c);
		}else {
			System.out.println(c + a);
		}
	}
} 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();
		if(a + b <= b + c && a + b <= c + a) {
			System.out.println(a + b);
		}else if(b + c <= a + b && b + c <= c + a) {
			System.out.println(b + c);
		}else {
			System.out.println(c + a);
		}
	}
} 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();
		if(a + b <= b + c && a + b <= c + a) {
			System.out.println(a + b);
		}else if(b + c <= a + b && b + c <= c + a) {
			System.out.println(b + c);
		}else {
			System.out.println(c + a);
		}
	} main {
		
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		if(a + b <= b + c && a + b <= c + a) {
			System.out.println(a + b);
		}else if(b + c <= a + b && b + c <= c + a) {
			System.out.println(b + c);
		}else {
			System.out.println(c + a);
		}
	} 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 if(a + b <= b + c && a + b <= c + a) {
			System.out.println(a + b);
		}else if(b + c <= a + b && b + c <= c + a) {
			System.out.println(b + c);
		}else {
			System.out.println(c + a);
		} a + b <= b + c && a + b <= c + a a + b <= b + c a + b a b b + c b c a + b <= c + a a + b a b c + a c a {
			System.out.println(a + b);
		} System.out.println(a + b) System.out.println System.out System System.out a + b a b if(b + c <= a + b && b + c <= c + a) {
			System.out.println(b + c);
		}else {
			System.out.println(c + a);
		} b + c <= a + b && b + c <= c + a b + c <= a + b b + c b c a + b a b b + c <= c + a b + c b c c + a c a {
			System.out.println(b + c);
		} System.out.println(b + c) System.out.println System.out System System.out b + c b c {
			System.out.println(c + a);
		} System.out.println(c + a) System.out.println System.out System System.out c + a c a 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();
		if(a + b <= b + c && a + b <= c + a) {
			System.out.println(a + b);
		}else if(b + c <= a + b && b + c <= c + a) {
			System.out.println(b + c);
		}else {
			System.out.println(c + a);
		}
	}
} 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();
		if(a + b <= b + c && a + b <= c + a) {
			System.out.println(a + b);
		}else if(b + c <= a + b && b + c <= c + a) {
			System.out.println(b + c);
		}else {
			System.out.println(c + a);
		}
	}
} 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();
		if(a + b <= b + c && a + b <= c + a) {
			System.out.println(a + b);
		}else if(b + c <= a + b && b + c <= c + a) {
			System.out.println(b + c);
		}else {
			System.out.println(c + a);
		}
	}
}