import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int[] a = new int[3];

        for (int i = 0; i < 3; i++) {
            a[i] = sc.nextInt();
        }

        int sum = 0;
        int max = 0;

        for (int i = 0; i < 3; i++) {
            sum += a[i];

            if (a[i] > max) {
                max = a[i];
            }
        }

        System.out.println(sum - max);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int[] a = new int[3];

        for (int i = 0; i < 3; i++) {
            a[i] = sc.nextInt();
        }

        int sum = 0;
        int max = 0;

        for (int i = 0; i < 3; i++) {
            sum += a[i];

            if (a[i] > max) {
                max = a[i];
            }
        }

        System.out.println(sum - max);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int[] a = new int[3];

        for (int i = 0; i < 3; i++) {
            a[i] = sc.nextInt();
        }

        int sum = 0;
        int max = 0;

        for (int i = 0; i < 3; i++) {
            sum += a[i];

            if (a[i] > max) {
                max = a[i];
            }
        }

        System.out.println(sum - max);
    } main {
        Scanner sc = new Scanner(System.in);

        int[] a = new int[3];

        for (int i = 0; i < 3; i++) {
            a[i] = sc.nextInt();
        }

        int sum = 0;
        int max = 0;

        for (int i = 0; i < 3; i++) {
            sum += a[i];

            if (a[i] > max) {
                max = a[i];
            }
        }

        System.out.println(sum - max);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] a = new int[3]; a new int[3] 3 for (int i = 0; i < 3; i++) {
            a[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
            a[i] = sc.nextInt();
        } {
            a[i] = sc.nextInt();
        } a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc int sum = 0; sum 0 int max = 0; max 0 for (int i = 0; i < 3; i++) {
            sum += a[i];

            if (a[i] > max) {
                max = a[i];
            }
        } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
            sum += a[i];

            if (a[i] > max) {
                max = a[i];
            }
        } {
            sum += a[i];

            if (a[i] > max) {
                max = a[i];
            }
        } sum += a[i] sum a[i] a i if (a[i] > max) {
                max = a[i];
            } a[i] > max a[i] a i max {
                max = a[i];
            } max = a[i] max a[i] a i 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) {
        Scanner sc = new Scanner(System.in);

        int[] a = new int[3];

        for (int i = 0; i < 3; i++) {
            a[i] = sc.nextInt();
        }

        int sum = 0;
        int max = 0;

        for (int i = 0; i < 3; i++) {
            sum += a[i];

            if (a[i] > max) {
                max = a[i];
            }
        }

        System.out.println(sum - max);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int[] a = new int[3];

        for (int i = 0; i < 3; i++) {
            a[i] = sc.nextInt();
        }

        int sum = 0;
        int max = 0;

        for (int i = 0; i < 3; i++) {
            sum += a[i];

            if (a[i] > max) {
                max = a[i];
            }
        }

        System.out.println(sum - max);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int[] a = new int[3];

        for (int i = 0; i < 3; i++) {
            a[i] = sc.nextInt();
        }

        int sum = 0;
        int max = 0;

        for (int i = 0; i < 3; i++) {
            sum += a[i];

            if (a[i] > max) {
                max = a[i];
            }
        }

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