import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
       Scanner sc = new Scanner(System.in);
        int one = Integer.parseInt(sc.next());
        int two = Integer.parseInt(sc.next());
        int three = Integer.parseInt(sc.next());
        int res = 0;
        res = one<two?one:two;
        if(res == one) {
            if(two < three) {
                res += two;
            } else {
                res += three;
            }
        } else {
            if(one < three) {
                res += one;
            } else {
                res += three;
            }
        }
        
        System.out.println(res);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
       Scanner sc = new Scanner(System.in);
        int one = Integer.parseInt(sc.next());
        int two = Integer.parseInt(sc.next());
        int three = Integer.parseInt(sc.next());
        int res = 0;
        res = one<two?one:two;
        if(res == one) {
            if(two < three) {
                res += two;
            } else {
                res += three;
            }
        } else {
            if(one < three) {
                res += one;
            } else {
                res += three;
            }
        }
        
        System.out.println(res);
    }
} Main public static void main(String[] args) throws Exception {
       Scanner sc = new Scanner(System.in);
        int one = Integer.parseInt(sc.next());
        int two = Integer.parseInt(sc.next());
        int three = Integer.parseInt(sc.next());
        int res = 0;
        res = one<two?one:two;
        if(res == one) {
            if(two < three) {
                res += two;
            } else {
                res += three;
            }
        } else {
            if(one < three) {
                res += one;
            } else {
                res += three;
            }
        }
        
        System.out.println(res);
    } main {
       Scanner sc = new Scanner(System.in);
        int one = Integer.parseInt(sc.next());
        int two = Integer.parseInt(sc.next());
        int three = Integer.parseInt(sc.next());
        int res = 0;
        res = one<two?one:two;
        if(res == one) {
            if(two < three) {
                res += two;
            } else {
                res += three;
            }
        } else {
            if(one < three) {
                res += one;
            } else {
                res += three;
            }
        }
        
        System.out.println(res);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int one = Integer.parseInt(sc.next()); one Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int two = Integer.parseInt(sc.next()); two Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int three = Integer.parseInt(sc.next()); three Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int res = 0; res 0 res = one<two?one:two res one<two?one:two one<two one two one two if(res == one) {
            if(two < three) {
                res += two;
            } else {
                res += three;
            }
        } else {
            if(one < three) {
                res += one;
            } else {
                res += three;
            }
        } res == one res one {
            if(two < three) {
                res += two;
            } else {
                res += three;
            }
        } if(two < three) {
                res += two;
            } else {
                res += three;
            } two < three two three {
                res += two;
            } res += two res two {
                res += three;
            } res += three res three {
            if(one < three) {
                res += one;
            } else {
                res += three;
            }
        } if(one < three) {
                res += one;
            } else {
                res += three;
            } one < three one three {
                res += one;
            } res += one res one {
                res += three;
            } res += three res three System.out.println(res) System.out.println System.out System System.out res String[] args args public class Main {
    public static void main(String[] args) throws Exception {
       Scanner sc = new Scanner(System.in);
        int one = Integer.parseInt(sc.next());
        int two = Integer.parseInt(sc.next());
        int three = Integer.parseInt(sc.next());
        int res = 0;
        res = one<two?one:two;
        if(res == one) {
            if(two < three) {
                res += two;
            } else {
                res += three;
            }
        } else {
            if(one < three) {
                res += one;
            } else {
                res += three;
            }
        }
        
        System.out.println(res);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
       Scanner sc = new Scanner(System.in);
        int one = Integer.parseInt(sc.next());
        int two = Integer.parseInt(sc.next());
        int three = Integer.parseInt(sc.next());
        int res = 0;
        res = one<two?one:two;
        if(res == one) {
            if(two < three) {
                res += two;
            } else {
                res += three;
            }
        } else {
            if(one < three) {
                res += one;
            } else {
                res += three;
            }
        }
        
        System.out.println(res);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
       Scanner sc = new Scanner(System.in);
        int one = Integer.parseInt(sc.next());
        int two = Integer.parseInt(sc.next());
        int three = Integer.parseInt(sc.next());
        int res = 0;
        res = one<two?one:two;
        if(res == one) {
            if(two < three) {
                res += two;
            } else {
                res += three;
            }
        } else {
            if(one < three) {
                res += one;
            } else {
                res += three;
            }
        }
        
        System.out.println(res);
    }
}
