import java.util.Arrays;

import java.util.Scanner;
 
class Main {
    public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		 
		int cntNums[] = new int[3];
		 
		 
		for(int i = 0; i <= 2; i++){
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;
		 
		}
		 
		Arrays.sort(cntNums);
		 
		System.out.println(cntNums[0] + cntNums[1]);
	
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		 
		int cntNums[] = new int[3];
		 
		 
		for(int i = 0; i <= 2; i++){
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;
		 
		}
		 
		Arrays.sort(cntNums);
		 
		System.out.println(cntNums[0] + cntNums[1]);
	
	}
} Main public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		 
		int cntNums[] = new int[3];
		 
		 
		for(int i = 0; i <= 2; i++){
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;
		 
		}
		 
		Arrays.sort(cntNums);
		 
		System.out.println(cntNums[0] + cntNums[1]);
	
	} main {
		
		Scanner sc = new Scanner(System.in);
		 
		int cntNums[] = new int[3];
		 
		 
		for(int i = 0; i <= 2; i++){
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;
		 
		}
		 
		Arrays.sort(cntNums);
		 
		System.out.println(cntNums[0] + cntNums[1]);
	
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int cntNums[] = new int[3]; cntNums new int[3] 3 for(int i = 0; i <= 2; i++){
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;
		 
		} int i = 0; int i = 0; i 0 i <= 2 i 2 i++ i++ i {
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;
		 
		} {
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;
		 
		} int inputNums = sc.nextInt(); inputNums sc.nextInt() sc.nextInt sc cntNums[i] = inputNums cntNums[i] cntNums i inputNums Arrays.sort(cntNums) Arrays.sort Arrays cntNums System.out.println(cntNums[0] + cntNums[1]) System.out.println System.out System System.out cntNums[0] + cntNums[1] cntNums[0] cntNums 0 cntNums[1] cntNums 1 String[] args args
import java.util.Arrays;

import java.util.Scanner;
 
class Main {
    public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		 
		int cntNums[] = new int[3];
		 
		 
		for(int i = 0; i <= 2; i++){
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;
		 
		}
		 
		Arrays.sort(cntNums);
		 
		System.out.println(cntNums[0] + cntNums[1]);
	
	}
}