
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {
	public static void main(String[] args) throws Exception {
		String line = readLine();
		String[] str = line.split(" ");
		int[] array = new int[str.length];
		for(int i = 0; i < 3; i++) {
			array[i] = Integer.parseInt(str[i]);
		}
		Arrays.sort(array);
		System.out.println(array[0]+array[1]);
	}


	private static String readLine() throws Exception {
		BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
		return br.readLine();
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util public class Main {
	public static void main(String[] args) throws Exception {
		String line = readLine();
		String[] str = line.split(" ");
		int[] array = new int[str.length];
		for(int i = 0; i < 3; i++) {
			array[i] = Integer.parseInt(str[i]);
		}
		Arrays.sort(array);
		System.out.println(array[0]+array[1]);
	}


	private static String readLine() throws Exception {
		BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
		return br.readLine();
	}
} Main public static void main(String[] args) throws Exception {
		String line = readLine();
		String[] str = line.split(" ");
		int[] array = new int[str.length];
		for(int i = 0; i < 3; i++) {
			array[i] = Integer.parseInt(str[i]);
		}
		Arrays.sort(array);
		System.out.println(array[0]+array[1]);
	} main {
		String line = readLine();
		String[] str = line.split(" ");
		int[] array = new int[str.length];
		for(int i = 0; i < 3; i++) {
			array[i] = Integer.parseInt(str[i]);
		}
		Arrays.sort(array);
		System.out.println(array[0]+array[1]);
	} String line = readLine(); line readLine() readLine String[] str = line.split(" "); str line.split(" ") line.split line " " int[] array = new int[str.length]; array new int[str.length] str.length str str.length for(int i = 0; i < 3; i++) {
			array[i] = Integer.parseInt(str[i]);
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			array[i] = Integer.parseInt(str[i]);
		} {
			array[i] = Integer.parseInt(str[i]);
		} array[i] = Integer.parseInt(str[i]) array[i] array i Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i Arrays.sort(array) Arrays.sort Arrays array System.out.println(array[0]+array[1]) System.out.println System.out System System.out array[0]+array[1] array[0] array 0 array[1] array 1 String[] args args private static String readLine() throws Exception {
		BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
		return br.readLine();
	} readLine {
		BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
		return br.readLine();
	} BufferedReader br = new BufferedReader( new InputStreamReader(System.in)); br new BufferedReader( new InputStreamReader(System.in)) return br.readLine(); br.readLine() br.readLine br public class Main {
	public static void main(String[] args) throws Exception {
		String line = readLine();
		String[] str = line.split(" ");
		int[] array = new int[str.length];
		for(int i = 0; i < 3; i++) {
			array[i] = Integer.parseInt(str[i]);
		}
		Arrays.sort(array);
		System.out.println(array[0]+array[1]);
	}


	private static String readLine() throws Exception {
		BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
		return br.readLine();
	}
} public class Main {
	public static void main(String[] args) throws Exception {
		String line = readLine();
		String[] str = line.split(" ");
		int[] array = new int[str.length];
		for(int i = 0; i < 3; i++) {
			array[i] = Integer.parseInt(str[i]);
		}
		Arrays.sort(array);
		System.out.println(array[0]+array[1]);
	}


	private static String readLine() throws Exception {
		BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
		return br.readLine();
	}
} Main

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {
	public static void main(String[] args) throws Exception {
		String line = readLine();
		String[] str = line.split(" ");
		int[] array = new int[str.length];
		for(int i = 0; i < 3; i++) {
			array[i] = Integer.parseInt(str[i]);
		}
		Arrays.sort(array);
		System.out.println(array[0]+array[1]);
	}


	private static String readLine() throws Exception {
		BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
		return br.readLine();
	}
}
