import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int A = a + b;
        int B = b + c;
        int C = a + c;
        if (A > B) {
            if (B > C) {
                System.out.println(C);
            } else  {
                System.out.println(B);
            }
        } else if(A>C){
            System.out.println(C);
        }else {
            System.out.println(A);
        }
    }

} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int A = a + b;
        int B = b + c;
        int C = a + c;
        if (A > B) {
            if (B > C) {
                System.out.println(C);
            } else  {
                System.out.println(B);
            }
        } else if(A>C){
            System.out.println(C);
        }else {
            System.out.println(A);
        }
    }

} Main public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int A = a + b;
        int B = b + c;
        int C = a + c;
        if (A > B) {
            if (B > C) {
                System.out.println(C);
            } else  {
                System.out.println(B);
            }
        } else if(A>C){
            System.out.println(C);
        }else {
            System.out.println(A);
        }
    } main {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int A = a + b;
        int B = b + c;
        int C = a + c;
        if (A > B) {
            if (B > C) {
                System.out.println(C);
            } else  {
                System.out.println(B);
            }
        } else if(A>C){
            System.out.println(C);
        }else {
            System.out.println(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 int A = a + b; A a + b a b int B = b + c; B b + c b c int C = a + c; C a + c a c if (A > B) {
            if (B > C) {
                System.out.println(C);
            } else  {
                System.out.println(B);
            }
        } else if(A>C){
            System.out.println(C);
        }else {
            System.out.println(A);
        } A > B A B {
            if (B > C) {
                System.out.println(C);
            } else  {
                System.out.println(B);
            }
        } if (B > C) {
                System.out.println(C);
            } else  {
                System.out.println(B);
            } B > C B C {
                System.out.println(C);
            } System.out.println(C) System.out.println System.out System System.out C {
                System.out.println(B);
            } System.out.println(B) System.out.println System.out System System.out B if(A>C){
            System.out.println(C);
        }else {
            System.out.println(A);
        } A>C A C {
            System.out.println(C);
        } System.out.println(C) System.out.println System.out System System.out C {
            System.out.println(A);
        } System.out.println(A) System.out.println System.out System System.out A String[] args args public class Main {
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int A = a + b;
        int B = b + c;
        int C = a + c;
        if (A > B) {
            if (B > C) {
                System.out.println(C);
            } else  {
                System.out.println(B);
            }
        } else if(A>C){
            System.out.println(C);
        }else {
            System.out.println(A);
        }
    }

} public class Main {
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int A = a + b;
        int B = b + c;
        int C = a + c;
        if (A > B) {
            if (B > C) {
                System.out.println(C);
            } else  {
                System.out.println(B);
            }
        } else if(A>C){
            System.out.println(C);
        }else {
            System.out.println(A);
        }
    }

} Main
import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int A = a + b;
        int B = b + c;
        int C = a + c;
        if (A > B) {
            if (B > C) {
                System.out.println(C);
            } else  {
                System.out.println(B);
            }
        } else if(A>C){
            System.out.println(C);
        }else {
            System.out.println(A);
        }
    }

}
