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

public class Main {

    void run() {
        Scanner sc = new Scanner(System.in);
        int[] ar = new int[3];
        for (int i = 0; i < 3; i++) ar[i] = sc.nextInt();
        Arrays.sort(ar);
        System.out.println(ar[0] + ar[1]);
    }


    void debug(Object...os) {
        System.err.println(Arrays.deepToString(os));
    }

    public static void main(String[] args) {
        new Main().run();
    }
} import java.util.Arrays; Arrays java.util import java.util.PriorityQueue; PriorityQueue java.util import java.util.Scanner; Scanner java.util public class Main {

    void run() {
        Scanner sc = new Scanner(System.in);
        int[] ar = new int[3];
        for (int i = 0; i < 3; i++) ar[i] = sc.nextInt();
        Arrays.sort(ar);
        System.out.println(ar[0] + ar[1]);
    }


    void debug(Object...os) {
        System.err.println(Arrays.deepToString(os));
    }

    public static void main(String[] args) {
        new Main().run();
    }
} Main void run() {
        Scanner sc = new Scanner(System.in);
        int[] ar = new int[3];
        for (int i = 0; i < 3; i++) ar[i] = sc.nextInt();
        Arrays.sort(ar);
        System.out.println(ar[0] + ar[1]);
    } run {
        Scanner sc = new Scanner(System.in);
        int[] ar = new int[3];
        for (int i = 0; i < 3; i++) ar[i] = sc.nextInt();
        Arrays.sort(ar);
        System.out.println(ar[0] + ar[1]);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] ar = new int[3]; ar new int[3] 3 for (int i = 0; i < 3; i++) ar[i] = sc.nextInt(); int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i ar[i] = sc.nextInt(); ar[i] = sc.nextInt() ar[i] ar i sc.nextInt() sc.nextInt sc Arrays.sort(ar) Arrays.sort Arrays ar System.out.println(ar[0] + ar[1]) System.out.println System.out System System.out ar[0] + ar[1] ar[0] ar 0 ar[1] ar 1 void debug(Object...os) {
        System.err.println(Arrays.deepToString(os));
    } debug {
        System.err.println(Arrays.deepToString(os));
    } System.err.println(Arrays.deepToString(os)) System.err.println System.err System System.err Arrays.deepToString(os) Arrays.deepToString Arrays os Object...os os public static void main(String[] args) {
        new Main().run();
    } main {
        new Main().run();
    } new Main().run() new Main().run new Main() String[] args args public class Main {

    void run() {
        Scanner sc = new Scanner(System.in);
        int[] ar = new int[3];
        for (int i = 0; i < 3; i++) ar[i] = sc.nextInt();
        Arrays.sort(ar);
        System.out.println(ar[0] + ar[1]);
    }


    void debug(Object...os) {
        System.err.println(Arrays.deepToString(os));
    }

    public static void main(String[] args) {
        new Main().run();
    }
} public class Main {

    void run() {
        Scanner sc = new Scanner(System.in);
        int[] ar = new int[3];
        for (int i = 0; i < 3; i++) ar[i] = sc.nextInt();
        Arrays.sort(ar);
        System.out.println(ar[0] + ar[1]);
    }


    void debug(Object...os) {
        System.err.println(Arrays.deepToString(os));
    }

    public static void main(String[] args) {
        new Main().run();
    }
} Main

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

public class Main {

    void run() {
        Scanner sc = new Scanner(System.in);
        int[] ar = new int[3];
        for (int i = 0; i < 3; i++) ar[i] = sc.nextInt();
        Arrays.sort(ar);
        System.out.println(ar[0] + ar[1]);
    }


    void debug(Object...os) {
        System.err.println(Arrays.deepToString(os));
    }

    public static void main(String[] args) {
        new Main().run();
    }
}
