import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int number = 3;
        int[]a = new int[3];
        for(int i = 0; i < number; i++){
            a[i] = sc.nextInt();
        }
        sc.close();
        //昇順に並び替え
        Arrays.sort(a);
        System.out.println(a[0] + a[1]);
    }
} import java.util.*; util.* java class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int number = 3;
        int[]a = new int[3];
        for(int i = 0; i < number; i++){
            a[i] = sc.nextInt();
        }
        sc.close();
        //昇順に並び替え
        Arrays.sort(a);
        System.out.println(a[0] + a[1]);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int number = 3;
        int[]a = new int[3];
        for(int i = 0; i < number; i++){
            a[i] = sc.nextInt();
        }
        sc.close();
        //昇順に並び替え
        Arrays.sort(a);
        System.out.println(a[0] + a[1]);
    } main {
        Scanner sc = new Scanner(System.in);
        int number = 3;
        int[]a = new int[3];
        for(int i = 0; i < number; i++){
            a[i] = sc.nextInt();
        }
        sc.close();
        //昇順に並び替え
        Arrays.sort(a);
        System.out.println(a[0] + a[1]);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int number = 3; number 3 int[]a = new int[3]; a new int[3] 3 for(int i = 0; i < number; i++){
            a[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < number i number i++ i++ i {
            a[i] = sc.nextInt();
        } {
            a[i] = sc.nextInt();
        } a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc sc.close() sc.close sc Arrays.sort(a) Arrays.sort Arrays a System.out.println(a[0] + a[1]) System.out.println System.out System System.out a[0] + a[1] a[0] a 0 a[1] a 1 String[] args args
import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int number = 3;
        int[]a = new int[3];
        for(int i = 0; i < number; i++){
            a[i] = sc.nextInt();
        }
        sc.close();
        //昇順に並び替え
        Arrays.sort(a);
        System.out.println(a[0] + a[1]);
    }
}