import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner entrada = new Scanner(System.in);
        int Q[] =new int[3];
        int A = entrada.nextInt();
        int B = entrada.nextInt();
        int C = entrada.nextInt();
        int D = A+B;
        int E = A+C;
        int F = B+C;
        Q[0]=D;
        Q[1]=E;
        Q[2]=F;
        Arrays.sort(Q);
        System.out.println(Q[0]);
    }
} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner entrada = new Scanner(System.in);
        int Q[] =new int[3];
        int A = entrada.nextInt();
        int B = entrada.nextInt();
        int C = entrada.nextInt();
        int D = A+B;
        int E = A+C;
        int F = B+C;
        Q[0]=D;
        Q[1]=E;
        Q[2]=F;
        Arrays.sort(Q);
        System.out.println(Q[0]);
    }
} Main public static void main(String[] args) {
        Scanner entrada = new Scanner(System.in);
        int Q[] =new int[3];
        int A = entrada.nextInt();
        int B = entrada.nextInt();
        int C = entrada.nextInt();
        int D = A+B;
        int E = A+C;
        int F = B+C;
        Q[0]=D;
        Q[1]=E;
        Q[2]=F;
        Arrays.sort(Q);
        System.out.println(Q[0]);
    } main {
        Scanner entrada = new Scanner(System.in);
        int Q[] =new int[3];
        int A = entrada.nextInt();
        int B = entrada.nextInt();
        int C = entrada.nextInt();
        int D = A+B;
        int E = A+C;
        int F = B+C;
        Q[0]=D;
        Q[1]=E;
        Q[2]=F;
        Arrays.sort(Q);
        System.out.println(Q[0]);
    } Scanner entrada = new Scanner(System.in); entrada new Scanner(System.in) int Q[] =new int[3]; Q new int[3] 3 int A = entrada.nextInt(); A entrada.nextInt() entrada.nextInt entrada int B = entrada.nextInt(); B entrada.nextInt() entrada.nextInt entrada int C = entrada.nextInt(); C entrada.nextInt() entrada.nextInt entrada int D = A+B; D A+B A B int E = A+C; E A+C A C int F = B+C; F B+C B C Q[0]=D Q[0] Q 0 D Q[1]=E Q[1] Q 1 E Q[2]=F Q[2] Q 2 F Arrays.sort(Q) Arrays.sort Arrays Q System.out.println(Q[0]) System.out.println System.out System System.out Q[0] Q 0 String[] args args public class Main {

    public static void main(String[] args) {
        Scanner entrada = new Scanner(System.in);
        int Q[] =new int[3];
        int A = entrada.nextInt();
        int B = entrada.nextInt();
        int C = entrada.nextInt();
        int D = A+B;
        int E = A+C;
        int F = B+C;
        Q[0]=D;
        Q[1]=E;
        Q[2]=F;
        Arrays.sort(Q);
        System.out.println(Q[0]);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner entrada = new Scanner(System.in);
        int Q[] =new int[3];
        int A = entrada.nextInt();
        int B = entrada.nextInt();
        int C = entrada.nextInt();
        int D = A+B;
        int E = A+C;
        int F = B+C;
        Q[0]=D;
        Q[1]=E;
        Q[2]=F;
        Arrays.sort(Q);
        System.out.println(Q[0]);
    }
} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner entrada = new Scanner(System.in);
        int Q[] =new int[3];
        int A = entrada.nextInt();
        int B = entrada.nextInt();
        int C = entrada.nextInt();
        int D = A+B;
        int E = A+C;
        int F = B+C;
        Q[0]=D;
        Q[1]=E;
        Q[2]=F;
        Arrays.sort(Q);
        System.out.println(Q[0]);
    }
}