import java.util.Scanner;

/**
 * ABC129 A
 *
 */
public class Main {

    public static void main(String[] args) {
        int a = 0;
        int b = 0;
        int c = 0;

        try (Scanner sc = new Scanner(System.in)) {
            a = sc.nextInt();
            b = sc.nextInt();
            c= sc.nextInt();
        }
        int sum = a + b +c;
        int max = 0;
        if(a >= b && a  >= c){
            max  = a;
        }else if(b >= a && b  >= c){
            max = b;
        }else{
            max = c;
        }

        System.out.println(sum - max);
    }

} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        int a = 0;
        int b = 0;
        int c = 0;

        try (Scanner sc = new Scanner(System.in)) {
            a = sc.nextInt();
            b = sc.nextInt();
            c= sc.nextInt();
        }
        int sum = a + b +c;
        int max = 0;
        if(a >= b && a  >= c){
            max  = a;
        }else if(b >= a && b  >= c){
            max = b;
        }else{
            max = c;
        }

        System.out.println(sum - max);
    }

} Main public static void main(String[] args) {
        int a = 0;
        int b = 0;
        int c = 0;

        try (Scanner sc = new Scanner(System.in)) {
            a = sc.nextInt();
            b = sc.nextInt();
            c= sc.nextInt();
        }
        int sum = a + b +c;
        int max = 0;
        if(a >= b && a  >= c){
            max  = a;
        }else if(b >= a && b  >= c){
            max = b;
        }else{
            max = c;
        }

        System.out.println(sum - max);
    } main {
        int a = 0;
        int b = 0;
        int c = 0;

        try (Scanner sc = new Scanner(System.in)) {
            a = sc.nextInt();
            b = sc.nextInt();
            c= sc.nextInt();
        }
        int sum = a + b +c;
        int max = 0;
        if(a >= b && a  >= c){
            max  = a;
        }else if(b >= a && b  >= c){
            max = b;
        }else{
            max = c;
        }

        System.out.println(sum - max);
    } int a = 0; a 0 int b = 0; b 0 int c = 0; c 0 try (Scanner sc = new Scanner(System.in)) {
            a = sc.nextInt();
            b = sc.nextInt();
            c= sc.nextInt();
        } {
            a = sc.nextInt();
            b = sc.nextInt();
            c= sc.nextInt();
        } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) 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 int sum = a + b +c; sum a + b +c a + b +c a b c int max = 0; max 0 if(a >= b && a  >= c){
            max  = a;
        }else if(b >= a && b  >= c){
            max = b;
        }else{
            max = c;
        } a >= b && a  >= c a >= b a b a  >= c a c {
            max  = a;
        } max  = a max a if(b >= a && b  >= c){
            max = b;
        }else{
            max = c;
        } b >= a && b  >= c b >= a b a b  >= c b c {
            max = b;
        } max = b max b {
            max = c;
        } max = c max c System.out.println(sum - max) System.out.println System.out System System.out sum - max sum max String[] args args public class Main {

    public static void main(String[] args) {
        int a = 0;
        int b = 0;
        int c = 0;

        try (Scanner sc = new Scanner(System.in)) {
            a = sc.nextInt();
            b = sc.nextInt();
            c= sc.nextInt();
        }
        int sum = a + b +c;
        int max = 0;
        if(a >= b && a  >= c){
            max  = a;
        }else if(b >= a && b  >= c){
            max = b;
        }else{
            max = c;
        }

        System.out.println(sum - max);
    }

} public class Main {

    public static void main(String[] args) {
        int a = 0;
        int b = 0;
        int c = 0;

        try (Scanner sc = new Scanner(System.in)) {
            a = sc.nextInt();
            b = sc.nextInt();
            c= sc.nextInt();
        }
        int sum = a + b +c;
        int max = 0;
        if(a >= b && a  >= c){
            max  = a;
        }else if(b >= a && b  >= c){
            max = b;
        }else{
            max = c;
        }

        System.out.println(sum - max);
    }

} Main
import java.util.Scanner;

/**
 * ABC129 A
 *
 */
public class Main {

    public static void main(String[] args) {
        int a = 0;
        int b = 0;
        int c = 0;

        try (Scanner sc = new Scanner(System.in)) {
            a = sc.nextInt();
            b = sc.nextInt();
            c= sc.nextInt();
        }
        int sum = a + b +c;
        int max = 0;
        if(a >= b && a  >= c){
            max  = a;
        }else if(b >= a && b  >= c){
            max = b;
        }else{
            max = c;
        }

        System.out.println(sum - max);
    }

}
