import java.io.*;
import java.util.Arrays;
import java.util.StringTokenizer;

public class Main
{
    public static void main(String[] args) throws IOException
    {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
        StringTokenizer st = new StringTokenizer(br.readLine());
        int[] arr = new int[3];
        for(int i=0;i<3;++i)
            arr[i] = Integer.parseInt(st.nextToken());
        Arrays.sort(arr);
        bw.write((arr[0]+arr[1])+"");
        bw.close();
    }

} import java.io.*; io.* java import java.util.Arrays; Arrays java.util import java.util.StringTokenizer; StringTokenizer java.util public class Main
{
    public static void main(String[] args) throws IOException
    {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
        StringTokenizer st = new StringTokenizer(br.readLine());
        int[] arr = new int[3];
        for(int i=0;i<3;++i)
            arr[i] = Integer.parseInt(st.nextToken());
        Arrays.sort(arr);
        bw.write((arr[0]+arr[1])+"");
        bw.close();
    }

} Main public static void main(String[] args) throws IOException
    {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
        StringTokenizer st = new StringTokenizer(br.readLine());
        int[] arr = new int[3];
        for(int i=0;i<3;++i)
            arr[i] = Integer.parseInt(st.nextToken());
        Arrays.sort(arr);
        bw.write((arr[0]+arr[1])+"");
        bw.close();
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
        StringTokenizer st = new StringTokenizer(br.readLine());
        int[] arr = new int[3];
        for(int i=0;i<3;++i)
            arr[i] = Integer.parseInt(st.nextToken());
        Arrays.sort(arr);
        bw.write((arr[0]+arr[1])+"");
        bw.close();
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); bw new BufferedWriter(new OutputStreamWriter(System.out)) StringTokenizer st = new StringTokenizer(br.readLine()); st new StringTokenizer(br.readLine()) int[] arr = new int[3]; arr new int[3] 3 for(int i=0;i<3;++i)
            arr[i] = Integer.parseInt(st.nextToken()); int i=0; int i=0; i 0 i<3 i 3 ++i ++i i arr[i] = Integer.parseInt(st.nextToken()); arr[i] = Integer.parseInt(st.nextToken()) arr[i] arr i Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st Arrays.sort(arr) Arrays.sort Arrays arr bw.write((arr[0]+arr[1])+"") bw.write bw (arr[0]+arr[1])+"" (arr[0]+arr[1]) arr[0] arr 0 arr[1] arr 1 "" bw.close() bw.close bw String[] args args public class Main
{
    public static void main(String[] args) throws IOException
    {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
        StringTokenizer st = new StringTokenizer(br.readLine());
        int[] arr = new int[3];
        for(int i=0;i<3;++i)
            arr[i] = Integer.parseInt(st.nextToken());
        Arrays.sort(arr);
        bw.write((arr[0]+arr[1])+"");
        bw.close();
    }

} public class Main
{
    public static void main(String[] args) throws IOException
    {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
        StringTokenizer st = new StringTokenizer(br.readLine());
        int[] arr = new int[3];
        for(int i=0;i<3;++i)
            arr[i] = Integer.parseInt(st.nextToken());
        Arrays.sort(arr);
        bw.write((arr[0]+arr[1])+"");
        bw.close();
    }

} Main
import java.io.*;
import java.util.Arrays;
import java.util.StringTokenizer;

public class Main
{
    public static void main(String[] args) throws IOException
    {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
        StringTokenizer st = new StringTokenizer(br.readLine());
        int[] arr = new int[3];
        for(int i=0;i<3;++i)
            arr[i] = Integer.parseInt(st.nextToken());
        Arrays.sort(arr);
        bw.write((arr[0]+arr[1])+"");
        bw.close();
    }

}
