import java.util.*;
 
class Main {
    public static void main(String[] args) {
      
        Scanner sc = new Scanner(System.in);
        int nam[] = new int[3];

      for(int i = 0; i < 3 ;i++){
        nam[i] = sc.nextInt();
      }
       Arrays.sort(nam);
      
      System.out.print(nam[0]+nam[1]);
      
      

    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
      
        Scanner sc = new Scanner(System.in);
        int nam[] = new int[3];

      for(int i = 0; i < 3 ;i++){
        nam[i] = sc.nextInt();
      }
       Arrays.sort(nam);
      
      System.out.print(nam[0]+nam[1]);
      
      

    }
} Main public static void main(String[] args) {
      
        Scanner sc = new Scanner(System.in);
        int nam[] = new int[3];

      for(int i = 0; i < 3 ;i++){
        nam[i] = sc.nextInt();
      }
       Arrays.sort(nam);
      
      System.out.print(nam[0]+nam[1]);
      
      

    } main {
      
        Scanner sc = new Scanner(System.in);
        int nam[] = new int[3];

      for(int i = 0; i < 3 ;i++){
        nam[i] = sc.nextInt();
      }
       Arrays.sort(nam);
      
      System.out.print(nam[0]+nam[1]);
      
      

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

      for(int i = 0; i < 3 ;i++){
        nam[i] = sc.nextInt();
      }
       Arrays.sort(nam);
      
      System.out.print(nam[0]+nam[1]);
      
      

    }
}