
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());//int型
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());

        sc.close();
        int ans = 1000;

        ans = Math.min(a+b,ans);
        ans = Math.min(b+c,ans);
        ans = Math.min(c+a,ans);

        System.out.println(ans);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());//int型
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());

        sc.close();
        int ans = 1000;

        ans = Math.min(a+b,ans);
        ans = Math.min(b+c,ans);
        ans = Math.min(c+a,ans);

        System.out.println(ans);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());//int型
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());

        sc.close();
        int ans = 1000;

        ans = Math.min(a+b,ans);
        ans = Math.min(b+c,ans);
        ans = Math.min(c+a,ans);

        System.out.println(ans);
    } main {
        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());//int型
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());

        sc.close();
        int ans = 1000;

        ans = Math.min(a+b,ans);
        ans = Math.min(b+c,ans);
        ans = Math.min(c+a,ans);

        System.out.println(ans);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = Integer.parseInt(sc.next()); a Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int b = Integer.parseInt(sc.next()); b Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int c = Integer.parseInt(sc.next()); c Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc sc.close() sc.close sc int ans = 1000; ans 1000 ans = Math.min(a+b,ans) ans Math.min(a+b,ans) Math.min Math a+b a b ans ans = Math.min(b+c,ans) ans Math.min(b+c,ans) Math.min Math b+c b c ans ans = Math.min(c+a,ans) ans Math.min(c+a,ans) Math.min Math c+a c a ans System.out.println(ans) System.out.println 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 a = Integer.parseInt(sc.next());//int型
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());

        sc.close();
        int ans = 1000;

        ans = Math.min(a+b,ans);
        ans = Math.min(b+c,ans);
        ans = Math.min(c+a,ans);

        System.out.println(ans);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());//int型
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());

        sc.close();
        int ans = 1000;

        ans = Math.min(a+b,ans);
        ans = Math.min(b+c,ans);
        ans = Math.min(c+a,ans);

        System.out.println(ans);
    }
} Main

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());//int型
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());

        sc.close();
        int ans = 1000;

        ans = Math.min(a+b,ans);
        ans = Math.min(b+c,ans);
        ans = Math.min(c+a,ans);

        System.out.println(ans);
    }
}
