import java.util.Scanner;
import java.util.HashMap;
public class Main {

    public static void main(String[] args) {
        Scanner Ent = new Scanner(System.in);
        int a = Ent.nextInt();
        int b = Ent.nextInt();
        int c = Ent.nextInt();
        int suma1 = a + b;
        int suma2 = a + c;
        int suma3 = c + b;
        System.out.println(Math.min(suma1, Math.min(suma2, suma3)));
    }
    
} import java.util.Scanner; Scanner java.util import java.util.HashMap; HashMap java.util public class Main {

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

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

    public static void main(String[] args) {
        Scanner Ent = new Scanner(System.in);
        int a = Ent.nextInt();
        int b = Ent.nextInt();
        int c = Ent.nextInt();
        int suma1 = a + b;
        int suma2 = a + c;
        int suma3 = c + b;
        System.out.println(Math.min(suma1, Math.min(suma2, suma3)));
    }
    
} Main
import java.util.Scanner;
import java.util.HashMap;
public class Main {

    public static void main(String[] args) {
        Scanner Ent = new Scanner(System.in);
        int a = Ent.nextInt();
        int b = Ent.nextInt();
        int c = Ent.nextInt();
        int suma1 = a + b;
        int suma2 = a + c;
        int suma3 = c + b;
        System.out.println(Math.min(suma1, Math.min(suma2, suma3)));
    }
    
}
