
import java.util.Scanner;
import java.util.*;


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

import java.util.Scanner;
import java.util.*;


public class Main {
    
    public static void main(String[] args) {
        
        Scanner entrada=new Scanner(System.in);
        
      int count=0;
        int x[]=new int[3];
        int x2[]=new int[3];
        
        for (int i = 0; i < 3; i++) {
            x[i]=entrada.nextInt();
        }
        for (int i = 0; i <2; i++) {
          for (int j = i+1; j<3; j++) {
            x2[count]=x[i]+x[j];
     count++;
          }
          
        }
     
      
        Arrays.sort(x2);
        System.out.println(x2[0]);
    }
    
}
