import java.util.*;

public class Main {
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        int m=sc.nextInt();
        int k=sc.nextInt();
        System.out.println(Math.min(Math.min(n+m,n+k),m+k));
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        int m=sc.nextInt();
        int k=sc.nextInt();
        System.out.println(Math.min(Math.min(n+m,n+k),m+k));
    }
} Main public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        int m=sc.nextInt();
        int k=sc.nextInt();
        System.out.println(Math.min(Math.min(n+m,n+k),m+k));
    } main {
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        int m=sc.nextInt();
        int k=sc.nextInt();
        System.out.println(Math.min(Math.min(n+m,n+k),m+k));
    } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int n=sc.nextInt(); n sc.nextInt() sc.nextInt sc int m=sc.nextInt(); m sc.nextInt() sc.nextInt sc int k=sc.nextInt(); k sc.nextInt() sc.nextInt sc System.out.println(Math.min(Math.min(n+m,n+k),m+k)) System.out.println System.out System System.out Math.min(Math.min(n+m,n+k),m+k) Math.min Math Math.min(n+m,n+k) Math.min Math n+m n m n+k n k m+k m k String[] args args public class Main {
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        int m=sc.nextInt();
        int k=sc.nextInt();
        System.out.println(Math.min(Math.min(n+m,n+k),m+k));
    }
} public class Main {
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        int m=sc.nextInt();
        int k=sc.nextInt();
        System.out.println(Math.min(Math.min(n+m,n+k),m+k));
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        int m=sc.nextInt();
        int k=sc.nextInt();
        System.out.println(Math.min(Math.min(n+m,n+k),m+k));
    }
}
