import java.util.*;
public class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int m = sc.nextInt();
    int l = sc.nextInt();
    int max = 0;
    int max1 = 0;

    int y[] = {n,m,l};

    int[] data ={n + m , m + l , n + l };

    for (int i = 0;i < y.length ;i++ ) {
      max1 = Math.max(max1,y[i]);
    }



    System.out.println(n+m+l - max1);


  }
} import java.util.*; util.* java public class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int m = sc.nextInt();
    int l = sc.nextInt();
    int max = 0;
    int max1 = 0;

    int y[] = {n,m,l};

    int[] data ={n + m , m + l , n + l };

    for (int i = 0;i < y.length ;i++ ) {
      max1 = Math.max(max1,y[i]);
    }



    System.out.println(n+m+l - max1);


  }
} Main public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int m = sc.nextInt();
    int l = sc.nextInt();
    int max = 0;
    int max1 = 0;

    int y[] = {n,m,l};

    int[] data ={n + m , m + l , n + l };

    for (int i = 0;i < y.length ;i++ ) {
      max1 = Math.max(max1,y[i]);
    }



    System.out.println(n+m+l - max1);


  } main {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int m = sc.nextInt();
    int l = sc.nextInt();
    int max = 0;
    int max1 = 0;

    int y[] = {n,m,l};

    int[] data ={n + m , m + l , n + l };

    for (int i = 0;i < y.length ;i++ ) {
      max1 = Math.max(max1,y[i]);
    }



    System.out.println(n+m+l - max1);


  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int m = sc.nextInt(); m sc.nextInt() sc.nextInt sc int l = sc.nextInt(); l sc.nextInt() sc.nextInt sc int max = 0; max 0 int max1 = 0; max1 0 int y[] = {n,m,l}; y {n,m,l} n m l int[] data ={n + m , m + l , n + l }; data {n + m , m + l , n + l } n + m n m m + l m l n + l n l for (int i = 0;i < y.length ;i++ ) {
      max1 = Math.max(max1,y[i]);
    } int i = 0; int i = 0; i 0 i < y.length i y.length y y.length i++ i++ i {
      max1 = Math.max(max1,y[i]);
    } {
      max1 = Math.max(max1,y[i]);
    } max1 = Math.max(max1,y[i]) max1 Math.max(max1,y[i]) Math.max Math max1 y[i] y i System.out.println(n+m+l - max1) System.out.println System.out System System.out n+m+l - max1 n+m+l n+m+l n m l max1 String args[] args public class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int m = sc.nextInt();
    int l = sc.nextInt();
    int max = 0;
    int max1 = 0;

    int y[] = {n,m,l};

    int[] data ={n + m , m + l , n + l };

    for (int i = 0;i < y.length ;i++ ) {
      max1 = Math.max(max1,y[i]);
    }



    System.out.println(n+m+l - max1);


  }
} public class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int m = sc.nextInt();
    int l = sc.nextInt();
    int max = 0;
    int max1 = 0;

    int y[] = {n,m,l};

    int[] data ={n + m , m + l , n + l };

    for (int i = 0;i < y.length ;i++ ) {
      max1 = Math.max(max1,y[i]);
    }



    System.out.println(n+m+l - max1);


  }
} Main
import java.util.*;
public class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int m = sc.nextInt();
    int l = sc.nextInt();
    int max = 0;
    int max1 = 0;

    int y[] = {n,m,l};

    int[] data ={n + m , m + l , n + l };

    for (int i = 0;i < y.length ;i++ ) {
      max1 = Math.max(max1,y[i]);
    }



    System.out.println(n+m+l - max1);


  }
}
