import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] s = new int[3];
        for (int i = 0; i < s.length; i++) {
            s[i] = sc.nextInt();
        }
        Arrays.sort(s);
        System.out.println(s[0] + s[1]);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] s = new int[3];
        for (int i = 0; i < s.length; i++) {
            s[i] = sc.nextInt();
        }
        Arrays.sort(s);
        System.out.println(s[0] + s[1]);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] s = new int[3];
        for (int i = 0; i < s.length; i++) {
            s[i] = sc.nextInt();
        }
        Arrays.sort(s);
        System.out.println(s[0] + s[1]);
    } main {
        Scanner sc = new Scanner(System.in);
        int[] s = new int[3];
        for (int i = 0; i < s.length; i++) {
            s[i] = sc.nextInt();
        }
        Arrays.sort(s);
        System.out.println(s[0] + s[1]);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] s = new int[3]; s new int[3] 3 for (int i = 0; i < s.length; i++) {
            s[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < s.length i s.length s s.length i++ i++ i {
            s[i] = sc.nextInt();
        } {
            s[i] = sc.nextInt();
        } s[i] = sc.nextInt() s[i] s i sc.nextInt() sc.nextInt sc Arrays.sort(s) Arrays.sort Arrays s System.out.println(s[0] + s[1]) System.out.println System.out System System.out s[0] + s[1] s[0] s 0 s[1] s 1 String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] s = new int[3];
        for (int i = 0; i < s.length; i++) {
            s[i] = sc.nextInt();
        }
        Arrays.sort(s);
        System.out.println(s[0] + s[1]);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] s = new int[3];
        for (int i = 0; i < s.length; i++) {
            s[i] = sc.nextInt();
        }
        Arrays.sort(s);
        System.out.println(s[0] + s[1]);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] s = new int[3];
        for (int i = 0; i < s.length; i++) {
            s[i] = sc.nextInt();
        }
        Arrays.sort(s);
        System.out.println(s[0] + s[1]);
    }
}