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

public class Main{
	public static void main(String[] args) {
		  Scanner  scan = new   Scanner (System.in);
		int[]array=new int[3];
		array[0]=scan.nextInt();
		array[1]=scan.nextInt();
		array[2]=scan.nextInt();
		Arrays.sort(array);
		System.out.println(array[0]+array[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  scan = new   Scanner (System.in);
		int[]array=new int[3];
		array[0]=scan.nextInt();
		array[1]=scan.nextInt();
		array[2]=scan.nextInt();
		Arrays.sort(array);
		System.out.println(array[0]+array[1]);
	}

} Main public static void main(String[] args) {
		  Scanner  scan = new   Scanner (System.in);
		int[]array=new int[3];
		array[0]=scan.nextInt();
		array[1]=scan.nextInt();
		array[2]=scan.nextInt();
		Arrays.sort(array);
		System.out.println(array[0]+array[1]);
	} main {
		  Scanner  scan = new   Scanner (System.in);
		int[]array=new int[3];
		array[0]=scan.nextInt();
		array[1]=scan.nextInt();
		array[2]=scan.nextInt();
		Arrays.sort(array);
		System.out.println(array[0]+array[1]);
	} Scanner  scan = new   Scanner (System.in); scan new   Scanner (System.in) int[]array=new int[3]; array new int[3] 3 array[0]=scan.nextInt() array[0] array 0 scan.nextInt() scan.nextInt scan array[1]=scan.nextInt() array[1] array 1 scan.nextInt() scan.nextInt scan array[2]=scan.nextInt() array[2] array 2 scan.nextInt() scan.nextInt scan 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 public class Main{
	public static void main(String[] args) {
		  Scanner  scan = new   Scanner (System.in);
		int[]array=new int[3];
		array[0]=scan.nextInt();
		array[1]=scan.nextInt();
		array[2]=scan.nextInt();
		Arrays.sort(array);
		System.out.println(array[0]+array[1]);
	}

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

} Main
import java.util.Arrays;
import java.util.Scanner;

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

}