import java.util.*;

class Main {
    public static void main(String args[]) {
        Scanner inp = new Scanner(System.in);
        do_(inp);
        inp.close();
    }
    public static void do_(Scanner inp) {
        int a = inp.nextInt();
        int b = inp.nextInt();
        int c = inp.nextInt();
        int ans = Math.min(Math.min(a + b, b + c), a + c);
        System.out.println(ans);
    }
} import java.util.*; util.* java class Main {
    public static void main(String args[]) {
        Scanner inp = new Scanner(System.in);
        do_(inp);
        inp.close();
    }
    public static void do_(Scanner inp) {
        int a = inp.nextInt();
        int b = inp.nextInt();
        int c = inp.nextInt();
        int ans = Math.min(Math.min(a + b, b + c), a + c);
        System.out.println(ans);
    }
} Main public static void main(String args[]) {
        Scanner inp = new Scanner(System.in);
        do_(inp);
        inp.close();
    } main {
        Scanner inp = new Scanner(System.in);
        do_(inp);
        inp.close();
    } Scanner inp = new Scanner(System.in); inp new Scanner(System.in) do_(inp) do_ inp inp.close() inp.close inp String args[] args public static void do_(Scanner inp) {
        int a = inp.nextInt();
        int b = inp.nextInt();
        int c = inp.nextInt();
        int ans = Math.min(Math.min(a + b, b + c), a + c);
        System.out.println(ans);
    } do_ {
        int a = inp.nextInt();
        int b = inp.nextInt();
        int c = inp.nextInt();
        int ans = Math.min(Math.min(a + b, b + c), a + c);
        System.out.println(ans);
    } int a = inp.nextInt(); a inp.nextInt() inp.nextInt inp int b = inp.nextInt(); b inp.nextInt() inp.nextInt inp int c = inp.nextInt(); c inp.nextInt() inp.nextInt inp int ans = Math.min(Math.min(a + b, b + c), a + c); ans Math.min(Math.min(a + b, b + c), a + c) Math.min Math Math.min(a + b, b + c) Math.min Math a + b a b b + c b c a + c a c System.out.println(ans) System.out.println System.out System System.out ans Scanner inp inp
import java.util.*;

class Main {
    public static void main(String args[]) {
        Scanner inp = new Scanner(System.in);
        do_(inp);
        inp.close();
    }
    public static void do_(Scanner inp) {
        int a = inp.nextInt();
        int b = inp.nextInt();
        int c = inp.nextInt();
        int ans = Math.min(Math.min(a + b, b + c), a + c);
        System.out.println(ans);
    }
}
