import java.util.Scanner;
public class Main{
    public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int sum = a + b;
        int sumsum = a + c;
        int sumsumsum = b + c;

        if(sum <= sumsum && sum <= sumsumsum){
            System.out.println(sum);   
        }else if(sumsum <= sum && sumsum <= sumsumsum){
            System.out.println(sumsum);
        }else if(sumsumsum <= sum && sumsumsum <= sumsum){ 
            System.out.println(sumsumsum);
        }


    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int sum = a + b;
        int sumsum = a + c;
        int sumsumsum = b + c;

        if(sum <= sumsum && sum <= sumsumsum){
            System.out.println(sum);   
        }else if(sumsum <= sum && sumsum <= sumsumsum){
            System.out.println(sumsum);
        }else if(sumsumsum <= sum && sumsumsum <= sumsum){ 
            System.out.println(sumsumsum);
        }


    }
} Main public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int sum = a + b;
        int sumsum = a + c;
        int sumsumsum = b + c;

        if(sum <= sumsum && sum <= sumsumsum){
            System.out.println(sum);   
        }else if(sumsum <= sum && sumsum <= sumsumsum){
            System.out.println(sumsum);
        }else if(sumsumsum <= sum && sumsumsum <= sumsum){ 
            System.out.println(sumsumsum);
        }


    } main {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int sum = a + b;
        int sumsum = a + c;
        int sumsumsum = b + c;

        if(sum <= sumsum && sum <= sumsumsum){
            System.out.println(sum);   
        }else if(sumsum <= sum && sumsum <= sumsumsum){
            System.out.println(sumsum);
        }else if(sumsumsum <= sum && sumsumsum <= sumsum){ 
            System.out.println(sumsumsum);
        }


    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan int sum = a + b; sum a + b a b int sumsum = a + c; sumsum a + c a c int sumsumsum = b + c; sumsumsum b + c b c if(sum <= sumsum && sum <= sumsumsum){
            System.out.println(sum);   
        }else if(sumsum <= sum && sumsum <= sumsumsum){
            System.out.println(sumsum);
        }else if(sumsumsum <= sum && sumsumsum <= sumsum){ 
            System.out.println(sumsumsum);
        } sum <= sumsum && sum <= sumsumsum sum <= sumsum sum sumsum sum <= sumsumsum sum sumsumsum {
            System.out.println(sum);   
        } System.out.println(sum) System.out.println System.out System System.out sum if(sumsum <= sum && sumsum <= sumsumsum){
            System.out.println(sumsum);
        }else if(sumsumsum <= sum && sumsumsum <= sumsum){ 
            System.out.println(sumsumsum);
        } sumsum <= sum && sumsum <= sumsumsum sumsum <= sum sumsum sum sumsum <= sumsumsum sumsum sumsumsum {
            System.out.println(sumsum);
        } System.out.println(sumsum) System.out.println System.out System System.out sumsum if(sumsumsum <= sum && sumsumsum <= sumsum){ 
            System.out.println(sumsumsum);
        } sumsumsum <= sum && sumsumsum <= sumsum sumsumsum <= sum sumsumsum sum sumsumsum <= sumsum sumsumsum sumsum { 
            System.out.println(sumsumsum);
        } System.out.println(sumsumsum) System.out.println System.out System System.out sumsumsum String args[] args public class Main{
    public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int sum = a + b;
        int sumsum = a + c;
        int sumsumsum = b + c;

        if(sum <= sumsum && sum <= sumsumsum){
            System.out.println(sum);   
        }else if(sumsum <= sum && sumsum <= sumsumsum){
            System.out.println(sumsum);
        }else if(sumsumsum <= sum && sumsumsum <= sumsum){ 
            System.out.println(sumsumsum);
        }


    }
} public class Main{
    public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int sum = a + b;
        int sumsum = a + c;
        int sumsumsum = b + c;

        if(sum <= sumsum && sum <= sumsumsum){
            System.out.println(sum);   
        }else if(sumsum <= sum && sumsum <= sumsumsum){
            System.out.println(sumsum);
        }else if(sumsumsum <= sum && sumsumsum <= sumsum){ 
            System.out.println(sumsumsum);
        }


    }
} Main
import java.util.Scanner;
public class Main{
    public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int sum = a + b;
        int sumsum = a + c;
        int sumsumsum = b + c;

        if(sum <= sumsum && sum <= sumsumsum){
            System.out.println(sum);   
        }else if(sumsum <= sum && sumsum <= sumsumsum){
            System.out.println(sumsum);
        }else if(sumsumsum <= sum && sumsumsum <= sumsum){ 
            System.out.println(sumsumsum);
        }


    }
}