import java.util.Scanner;

class Main {
 
    //https://atcoder.jp/contests/abc129/tasks/abc129_a
    public static void main( String[] args ) {
      try{
        Scanner scanner = new Scanner(System.in);
 
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
 
        System.out.println(Math.min(a + b, Math.min(b + c, c + a)));
      } catch(Exception e){
      return;
      }
    }
} import java.util.Scanner; Scanner java.util class Main {
 
    //https://atcoder.jp/contests/abc129/tasks/abc129_a
    public static void main( String[] args ) {
      try{
        Scanner scanner = new Scanner(System.in);
 
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
 
        System.out.println(Math.min(a + b, Math.min(b + c, c + a)));
      } catch(Exception e){
      return;
      }
    }
} Main //https://atcoder.jp/contests/abc129/tasks/abc129_a
    public static void main( String[] args ) {
      try{
        Scanner scanner = new Scanner(System.in);
 
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
 
        System.out.println(Math.min(a + b, Math.min(b + c, c + a)));
      } catch(Exception e){
      return;
      }
    } main {
      try{
        Scanner scanner = new Scanner(System.in);
 
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
 
        System.out.println(Math.min(a + b, Math.min(b + c, c + a)));
      } catch(Exception e){
      return;
      }
    } try{
        Scanner scanner = new Scanner(System.in);
 
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
 
        System.out.println(Math.min(a + b, Math.min(b + c, c + a)));
      } catch(Exception e){
      return;
      } catch(Exception e){
      return;
      } Exception e {
      return;
      } return; {
        Scanner scanner = new Scanner(System.in);
 
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
 
        System.out.println(Math.min(a + b, Math.min(b + c, c + a)));
      } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner System.out.println(Math.min(a + b, Math.min(b + c, c + a))) System.out.println System.out System System.out Math.min(a + b, Math.min(b + c, c + a)) Math.min Math a + b a b Math.min(b + c, c + a) Math.min Math b + c b c c + a c a String[] args args
import java.util.Scanner;

class Main {
 
    //https://atcoder.jp/contests/abc129/tasks/abc129_a
    public static void main( String[] args ) {
      try{
        Scanner scanner = new Scanner(System.in);
 
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
 
        System.out.println(Math.min(a + b, Math.min(b + c, c + a)));
      } catch(Exception e){
      return;
      }
    }
}