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

class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);
		int a= scanner.nextInt();
		int b= scanner.nextInt();
		int c= scanner.nextInt();
		
		int[] foo ={a,b,c};
		
		Arrays.sort(foo);
		
		System.out.println(foo[0]+foo[1]);
			
	}

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

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);
		int a= scanner.nextInt();
		int b= scanner.nextInt();
		int c= scanner.nextInt();
		
		int[] foo ={a,b,c};
		
		Arrays.sort(foo);
		
		System.out.println(foo[0]+foo[1]);
			
	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);
		int a= scanner.nextInt();
		int b= scanner.nextInt();
		int c= scanner.nextInt();
		
		int[] foo ={a,b,c};
		
		Arrays.sort(foo);
		
		System.out.println(foo[0]+foo[1]);
			
	} main {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);
		int a= scanner.nextInt();
		int b= scanner.nextInt();
		int c= scanner.nextInt();
		
		int[] foo ={a,b,c};
		
		Arrays.sort(foo);
		
		System.out.println(foo[0]+foo[1]);
			
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a= scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b= scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c= scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner int[] foo ={a,b,c}; foo {a,b,c} a b c Arrays.sort(foo) Arrays.sort Arrays foo System.out.println(foo[0]+foo[1]) System.out.println System.out System System.out foo[0]+foo[1] foo[0] foo 0 foo[1] foo 1 String[] args args
import java.util.Arrays;
import java.util.Scanner;

class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);
		int a= scanner.nextInt();
		int b= scanner.nextInt();
		int c= scanner.nextInt();
		
		int[] foo ={a,b,c};
		
		Arrays.sort(foo);
		
		System.out.println(foo[0]+foo[1]);
			
	}

}