import java.util.*;
public class Main{
  public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
   int[] N = new int[3];
   	N[0] = sc.nextInt();
   	N[1] = sc.nextInt();
   	N[2] = sc.nextInt();
    
    Arrays.sort(N);
	System.out.println(N[0]+N[1]);
 }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
   int[] N = new int[3];
   	N[0] = sc.nextInt();
   	N[1] = sc.nextInt();
   	N[2] = sc.nextInt();
    
    Arrays.sort(N);
	System.out.println(N[0]+N[1]);
 }
} Main public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
   int[] N = new int[3];
   	N[0] = sc.nextInt();
   	N[1] = sc.nextInt();
   	N[2] = sc.nextInt();
    
    Arrays.sort(N);
	System.out.println(N[0]+N[1]);
 } main {
   Scanner sc = new Scanner(System.in);
   int[] N = new int[3];
   	N[0] = sc.nextInt();
   	N[1] = sc.nextInt();
   	N[2] = sc.nextInt();
    
    Arrays.sort(N);
	System.out.println(N[0]+N[1]);
 } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] N = new int[3]; N new int[3] 3 N[0] = sc.nextInt() N[0] N 0 sc.nextInt() sc.nextInt sc N[1] = sc.nextInt() N[1] N 1 sc.nextInt() sc.nextInt sc N[2] = sc.nextInt() N[2] N 2 sc.nextInt() sc.nextInt sc Arrays.sort(N) Arrays.sort Arrays N System.out.println(N[0]+N[1]) System.out.println System.out System System.out N[0]+N[1] N[0] N 0 N[1] N 1 String[] args args public class Main{
  public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
   int[] N = new int[3];
   	N[0] = sc.nextInt();
   	N[1] = sc.nextInt();
   	N[2] = sc.nextInt();
    
    Arrays.sort(N);
	System.out.println(N[0]+N[1]);
 }
} public class Main{
  public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
   int[] N = new int[3];
   	N[0] = sc.nextInt();
   	N[1] = sc.nextInt();
   	N[2] = sc.nextInt();
    
    Arrays.sort(N);
	System.out.println(N[0]+N[1]);
 }
} Main
import java.util.*;
public class Main{
  public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
   int[] N = new int[3];
   	N[0] = sc.nextInt();
   	N[1] = sc.nextInt();
   	N[2] = sc.nextInt();
    
    Arrays.sort(N);
	System.out.println(N[0]+N[1]);
 }
}