import java.util.Arrays;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] times = {sc.nextInt(), sc.nextInt(), sc.nextInt()};
        Arrays.sort(times);
        System.out.println(times[0] + times[1]);
    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] times = {sc.nextInt(), sc.nextInt(), sc.nextInt()};
        Arrays.sort(times);
        System.out.println(times[0] + times[1]);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] times = {sc.nextInt(), sc.nextInt(), sc.nextInt()};
        Arrays.sort(times);
        System.out.println(times[0] + times[1]);
    } main {
        Scanner sc = new Scanner(System.in);
        int[] times = {sc.nextInt(), sc.nextInt(), sc.nextInt()};
        Arrays.sort(times);
        System.out.println(times[0] + times[1]);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] times = {sc.nextInt(), sc.nextInt(), sc.nextInt()}; times {sc.nextInt(), sc.nextInt(), sc.nextInt()} sc.nextInt() sc.nextInt sc sc.nextInt() sc.nextInt sc sc.nextInt() sc.nextInt sc Arrays.sort(times) Arrays.sort Arrays times System.out.println(times[0] + times[1]) System.out.println System.out System System.out times[0] + times[1] times[0] times 0 times[1] times 1 String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] times = {sc.nextInt(), sc.nextInt(), sc.nextInt()};
        Arrays.sort(times);
        System.out.println(times[0] + times[1]);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] times = {sc.nextInt(), sc.nextInt(), sc.nextInt()};
        Arrays.sort(times);
        System.out.println(times[0] + times[1]);
    }
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] times = {sc.nextInt(), sc.nextInt(), sc.nextInt()};
        Arrays.sort(times);
        System.out.println(times[0] + times[1]);
    }
}