import java.util.*;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
		int ab = sc.nextInt();
		int bc = sc.nextInt();
		int ca = sc.nextInt();
        
        int result1 = ab + bc;
        int result2 = bc + ca;
        int result3 = ca + ab;

        int min = result1;
        if (min > result2) {
            min = result2;
        }
        if (min > result3) {
            min = result3;
        }
		// 出力
		System.out.println(min);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
		int ab = sc.nextInt();
		int bc = sc.nextInt();
		int ca = sc.nextInt();
        
        int result1 = ab + bc;
        int result2 = bc + ca;
        int result3 = ca + ab;

        int min = result1;
        if (min > result2) {
            min = result2;
        }
        if (min > result3) {
            min = result3;
        }
		// 出力
		System.out.println(min);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
		int ab = sc.nextInt();
		int bc = sc.nextInt();
		int ca = sc.nextInt();
        
        int result1 = ab + bc;
        int result2 = bc + ca;
        int result3 = ca + ab;

        int min = result1;
        if (min > result2) {
            min = result2;
        }
        if (min > result3) {
            min = result3;
        }
		// 出力
		System.out.println(min);
	} main {
		Scanner sc = new Scanner(System.in);
		
		int ab = sc.nextInt();
		int bc = sc.nextInt();
		int ca = sc.nextInt();
        
        int result1 = ab + bc;
        int result2 = bc + ca;
        int result3 = ca + ab;

        int min = result1;
        if (min > result2) {
            min = result2;
        }
        if (min > result3) {
            min = result3;
        }
		// 出力
		System.out.println(min);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int ab = sc.nextInt(); ab sc.nextInt() sc.nextInt sc int bc = sc.nextInt(); bc sc.nextInt() sc.nextInt sc int ca = sc.nextInt(); ca sc.nextInt() sc.nextInt sc int result1 = ab + bc; result1 ab + bc ab bc int result2 = bc + ca; result2 bc + ca bc ca int result3 = ca + ab; result3 ca + ab ca ab int min = result1; min result1 if (min > result2) {
            min = result2;
        } min > result2 min result2 {
            min = result2;
        } min = result2 min result2 if (min > result3) {
            min = result3;
        } min > result3 min result3 {
            min = result3;
        } min = result3 min result3 System.out.println(min) System.out.println System.out System System.out min String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
		int ab = sc.nextInt();
		int bc = sc.nextInt();
		int ca = sc.nextInt();
        
        int result1 = ab + bc;
        int result2 = bc + ca;
        int result3 = ca + ab;

        int min = result1;
        if (min > result2) {
            min = result2;
        }
        if (min > result3) {
            min = result3;
        }
		// 出力
		System.out.println(min);
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
		int ab = sc.nextInt();
		int bc = sc.nextInt();
		int ca = sc.nextInt();
        
        int result1 = ab + bc;
        int result2 = bc + ca;
        int result3 = ca + ab;

        int min = result1;
        if (min > result2) {
            min = result2;
        }
        if (min > result3) {
            min = result3;
        }
		// 出力
		System.out.println(min);
	}
} Main
import java.util.*;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
		int ab = sc.nextInt();
		int bc = sc.nextInt();
		int ca = sc.nextInt();
        
        int result1 = ab + bc;
        int result2 = bc + ca;
        int result3 = ca + ab;

        int min = result1;
        if (min > result2) {
            min = result2;
        }
        if (min > result3) {
            min = result3;
        }
		// 出力
		System.out.println(min);
	}
}