import 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 d = a+b;
      	if (b+c<=d){
          d = b+c;
        }
      	if (c+a<=d){
          d = c+a;
        }
		System.out.println(d);
	}
} import java.util.*; util.* java 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 d = a+b;
      	if (b+c<=d){
          d = b+c;
        }
      	if (c+a<=d){
          d = c+a;
        }
		System.out.println(d);
	}
} 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 d = a+b;
      	if (b+c<=d){
          d = b+c;
        }
      	if (c+a<=d){
          d = c+a;
        }
		System.out.println(d);
	} main {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int d = a+b;
      	if (b+c<=d){
          d = b+c;
        }
      	if (c+a<=d){
          d = c+a;
        }
		System.out.println(d);
	} 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 d = a+b; d a+b a b if (b+c<=d){
          d = b+c;
        } b+c<=d b+c b c d {
          d = b+c;
        } d = b+c d b+c b c if (c+a<=d){
          d = c+a;
        } c+a<=d c+a c a d {
          d = c+a;
        } d = c+a d c+a c a System.out.println(d) System.out.println System.out System System.out d 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 d = a+b;
      	if (b+c<=d){
          d = b+c;
        }
      	if (c+a<=d){
          d = c+a;
        }
		System.out.println(d);
	}
} 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 d = a+b;
      	if (b+c<=d){
          d = b+c;
        }
      	if (c+a<=d){
          d = c+a;
        }
		System.out.println(d);
	}
} Main
import 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 d = a+b;
      	if (b+c<=d){
          d = b+c;
        }
      	if (c+a<=d){
          d = c+a;
        }
		System.out.println(d);
	}
}