import java.util.Scanner;

//6/9コンテスト

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 A=a+b;
		int B=a+c;
		int C =c+b;

		int min=A;
		if(B<A) {
			min=B;
			if(C<B) {
				min=C;
			}
		}
		else if(C<A) {
			min=C;
			if(B<C) {
				min=B;
			}
		}

		System.out.println(min);



	}

} 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 A=a+b;
		int B=a+c;
		int C =c+b;

		int min=A;
		if(B<A) {
			min=B;
			if(C<B) {
				min=C;
			}
		}
		else if(C<A) {
			min=C;
			if(B<C) {
				min=B;
			}
		}

		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 A=a+b;
		int B=a+c;
		int C =c+b;

		int min=A;
		if(B<A) {
			min=B;
			if(C<B) {
				min=C;
			}
		}
		else if(C<A) {
			min=C;
			if(B<C) {
				min=B;
			}
		}

		System.out.println(min);



	} main {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();

		int A=a+b;
		int B=a+c;
		int C =c+b;

		int min=A;
		if(B<A) {
			min=B;
			if(C<B) {
				min=C;
			}
		}
		else if(C<A) {
			min=C;
			if(B<C) {
				min=B;
			}
		}

		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 A=a+b; A a+b a b int B=a+c; B a+c a c int C =c+b; C c+b c b int min=A; min A if(B<A) {
			min=B;
			if(C<B) {
				min=C;
			}
		}
		else if(C<A) {
			min=C;
			if(B<C) {
				min=B;
			}
		} B<A B A {
			min=B;
			if(C<B) {
				min=C;
			}
		} min=B min B if(C<B) {
				min=C;
			} C<B C B {
				min=C;
			} min=C min C if(C<A) {
			min=C;
			if(B<C) {
				min=B;
			}
		} C<A C A {
			min=C;
			if(B<C) {
				min=B;
			}
		} min=C min C if(B<C) {
				min=B;
			} B<C B C {
				min=B;
			} min=B min B 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 A=a+b;
		int B=a+c;
		int C =c+b;

		int min=A;
		if(B<A) {
			min=B;
			if(C<B) {
				min=C;
			}
		}
		else if(C<A) {
			min=C;
			if(B<C) {
				min=B;
			}
		}

		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 A=a+b;
		int B=a+c;
		int C =c+b;

		int min=A;
		if(B<A) {
			min=B;
			if(C<B) {
				min=C;
			}
		}
		else if(C<A) {
			min=C;
			if(B<C) {
				min=B;
			}
		}

		System.out.println(min);



	}

} Main
import java.util.Scanner;

//6/9コンテスト

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 A=a+b;
		int B=a+c;
		int C =c+b;

		int min=A;
		if(B<A) {
			min=B;
			if(C<B) {
				min=C;
			}
		}
		else if(C<A) {
			min=C;
			if(B<C) {
				min=B;
			}
		}

		System.out.println(min);



	}

}
