import java.util.*;

public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int A = sc.nextInt();
    int B = sc.nextInt();
    int C = sc.nextInt();
    
    int x = A+B;
    int y = B+C;
    int z = C+A;
    
    System.out.println(Math.min(x,Math.min(y,z)));
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int A = sc.nextInt();
    int B = sc.nextInt();
    int C = sc.nextInt();
    
    int x = A+B;
    int y = B+C;
    int z = C+A;
    
    System.out.println(Math.min(x,Math.min(y,z)));
  }
} Main public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int A = sc.nextInt();
    int B = sc.nextInt();
    int C = sc.nextInt();
    
    int x = A+B;
    int y = B+C;
    int z = C+A;
    
    System.out.println(Math.min(x,Math.min(y,z)));
  } main {
    Scanner sc = new Scanner(System.in);
    int A = sc.nextInt();
    int B = sc.nextInt();
    int C = sc.nextInt();
    
    int x = A+B;
    int y = B+C;
    int z = C+A;
    
    System.out.println(Math.min(x,Math.min(y,z)));
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc int B = sc.nextInt(); B sc.nextInt() sc.nextInt sc int C = sc.nextInt(); C sc.nextInt() sc.nextInt sc int x = A+B; x A+B A B int y = B+C; y B+C B C int z = C+A; z C+A C A System.out.println(Math.min(x,Math.min(y,z))) System.out.println System.out System System.out Math.min(x,Math.min(y,z)) Math.min Math x Math.min(y,z) Math.min Math y z String[]args args public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int A = sc.nextInt();
    int B = sc.nextInt();
    int C = sc.nextInt();
    
    int x = A+B;
    int y = B+C;
    int z = C+A;
    
    System.out.println(Math.min(x,Math.min(y,z)));
  }
} public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int A = sc.nextInt();
    int B = sc.nextInt();
    int C = sc.nextInt();
    
    int x = A+B;
    int y = B+C;
    int z = C+A;
    
    System.out.println(Math.min(x,Math.min(y,z)));
  }
} Main
import java.util.*;

public class Main{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
    int A = sc.nextInt();
    int B = sc.nextInt();
    int C = sc.nextInt();
    
    int x = A+B;
    int y = B+C;
    int z = C+A;
    
    System.out.println(Math.min(x,Math.min(y,z)));
  }
}