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

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

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