import java.util.Scanner;

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[] ans= new int[3];

    ans[0] = N + M;
    ans[1] = M + L;
    ans[2] = L + N;

    int min = 999999999;
    for(int i = 0; i < 3; i++) {
    	min = Math.min(min, ans[i]);
    }
    System.out.println(min);
  }
} import java.util.Scanner; Scanner 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[] ans= new int[3];

    ans[0] = N + M;
    ans[1] = M + L;
    ans[2] = L + N;

    int min = 999999999;
    for(int i = 0; i < 3; i++) {
    	min = Math.min(min, ans[i]);
    }
    System.out.println(min);
  }
} 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[] ans= new int[3];

    ans[0] = N + M;
    ans[1] = M + L;
    ans[2] = L + N;

    int min = 999999999;
    for(int i = 0; i < 3; i++) {
    	min = Math.min(min, ans[i]);
    }
    System.out.println(min);
  } main {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    int M = sc.nextInt();
    int L = sc. nextInt();
    int[] ans= new int[3];

    ans[0] = N + M;
    ans[1] = M + L;
    ans[2] = L + N;

    int min = 999999999;
    for(int i = 0; i < 3; i++) {
    	min = Math.min(min, ans[i]);
    }
    System.out.println(min);
  } 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[] ans= new int[3]; ans new int[3] 3 ans[0] = N + M ans[0] ans 0 N + M N M ans[1] = M + L ans[1] ans 1 M + L M L ans[2] = L + N ans[2] ans 2 L + N L N int min = 999999999; min 999999999 for(int i = 0; i < 3; i++) {
    	min = Math.min(min, ans[i]);
    } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
    	min = Math.min(min, ans[i]);
    } {
    	min = Math.min(min, ans[i]);
    } min = Math.min(min, ans[i]) min Math.min(min, ans[i]) Math.min Math min ans[i] ans i System.out.println(min) System.out.println System.out System System.out min 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[] ans= new int[3];

    ans[0] = N + M;
    ans[1] = M + L;
    ans[2] = L + N;

    int min = 999999999;
    for(int i = 0; i < 3; i++) {
    	min = Math.min(min, ans[i]);
    }
    System.out.println(min);
  }
} 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[] ans= new int[3];

    ans[0] = N + M;
    ans[1] = M + L;
    ans[2] = L + N;

    int min = 999999999;
    for(int i = 0; i < 3; i++) {
    	min = Math.min(min, ans[i]);
    }
    System.out.println(min);
  }
} Main
import java.util.Scanner;

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[] ans= new int[3];

    ans[0] = N + M;
    ans[1] = M + L;
    ans[2] = L + N;

    int min = 999999999;
    for(int i = 0; i < 3; i++) {
    	min = Math.min(min, ans[i]);
    }
    System.out.println(min);
  }
}
