import java.util.*;
import java.lang.reflect.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int ans = 0;
        int a,b,c;
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        ans = a + b + c - Math.max(a,Math.max(b,c));
        System.out.print(ans);
    }
} import java.util.*; util.* java import java.lang.reflect.*; reflect.* java.lang public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int ans = 0;
        int a,b,c;
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        ans = a + b + c - Math.max(a,Math.max(b,c));
        System.out.print(ans);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int ans = 0;
        int a,b,c;
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        ans = a + b + c - Math.max(a,Math.max(b,c));
        System.out.print(ans);
    } main {
        Scanner sc = new Scanner(System.in);
        int ans = 0;
        int a,b,c;
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        ans = a + b + c - Math.max(a,Math.max(b,c));
        System.out.print(ans);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int ans = 0; ans 0 int a a b b c; c a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc c = sc.nextInt() c sc.nextInt() sc.nextInt sc ans = a + b + c - Math.max(a,Math.max(b,c)) ans a + b + c - Math.max(a,Math.max(b,c)) a + b + c a + b + c a b c Math.max(a,Math.max(b,c)) Math.max Math a Math.max(b,c) Math.max Math b c System.out.print(ans) System.out.print System.out System System.out ans String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int ans = 0;
        int a,b,c;
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        ans = a + b + c - Math.max(a,Math.max(b,c));
        System.out.print(ans);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int ans = 0;
        int a,b,c;
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        ans = a + b + c - Math.max(a,Math.max(b,c));
        System.out.print(ans);
    }
} Main
import java.util.*;
import java.lang.reflect.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int ans = 0;
        int a,b,c;
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        ans = a + b + c - Math.max(a,Math.max(b,c));
        System.out.print(ans);
    }
}