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 max = a;
    if(max < b) max = b;
    if(max < c) max = c;
    
    System.out.println(a+b+c-max);
  }
} 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 max = a;
    if(max < b) max = b;
    if(max < c) max = c;
    
    System.out.println(a+b+c-max);
  }
} 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 max = a;
    if(max < b) max = b;
    if(max < c) max = c;
    
    System.out.println(a+b+c-max);
  } main {
    Scanner sc = new Scanner(System.in);
    
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    
	int max = a;
    if(max < b) max = b;
    if(max < c) max = c;
    
    System.out.println(a+b+c-max);
  } 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 max = a; max a if(max < b) max = b; max < b max b max = b max b if(max < c) max = c; max < c max c max = c max c System.out.println(a+b+c-max) System.out.println System.out System System.out a+b+c-max a+b+c a+b+c a b c max 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 max = a;
    if(max < b) max = b;
    if(max < c) max = c;
    
    System.out.println(a+b+c-max);
  }
} 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 max = a;
    if(max < b) max = b;
    if(max < c) max = c;
    
    System.out.println(a+b+c-max);
  }
} 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 max = a;
    if(max < b) max = b;
    if(max < c) max = c;
    
    System.out.println(a+b+c-max);
  }
}