import java.util.Collections;
import java.util.HashSet;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan= new Scanner(System.in);
		int a=scan.nextInt();
		int b=scan.nextInt();
		int c=scan.nextInt();
		HashSet h=new HashSet();
		int d=a+b;
		h.add(d);
		int e=b+c;
		h.add(e);
		int h1=c+a;
		h.add(h1);
		System.out.println(Collections.min(h));
		

	}

} import java.util.Collections; Collections java.util import java.util.HashSet; HashSet java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scan= new Scanner(System.in);
		int a=scan.nextInt();
		int b=scan.nextInt();
		int c=scan.nextInt();
		HashSet h=new HashSet();
		int d=a+b;
		h.add(d);
		int e=b+c;
		h.add(e);
		int h1=c+a;
		h.add(h1);
		System.out.println(Collections.min(h));
		

	}

} Main public static void main(String[] args) {
		Scanner scan= new Scanner(System.in);
		int a=scan.nextInt();
		int b=scan.nextInt();
		int c=scan.nextInt();
		HashSet h=new HashSet();
		int d=a+b;
		h.add(d);
		int e=b+c;
		h.add(e);
		int h1=c+a;
		h.add(h1);
		System.out.println(Collections.min(h));
		

	} main {
		Scanner scan= new Scanner(System.in);
		int a=scan.nextInt();
		int b=scan.nextInt();
		int c=scan.nextInt();
		HashSet h=new HashSet();
		int d=a+b;
		h.add(d);
		int e=b+c;
		h.add(e);
		int h1=c+a;
		h.add(h1);
		System.out.println(Collections.min(h));
		

	} Scanner scan= new Scanner(System.in); scan new Scanner(System.in) int a=scan.nextInt(); a scan.nextInt() scan.nextInt scan int b=scan.nextInt(); b scan.nextInt() scan.nextInt scan int c=scan.nextInt(); c scan.nextInt() scan.nextInt scan HashSet h=new HashSet(); h new HashSet() int d=a+b; d a+b a b h.add(d) h.add h d int e=b+c; e b+c b c h.add(e) h.add h e int h1=c+a; h1 c+a c a h.add(h1) h.add h h1 System.out.println(Collections.min(h)) System.out.println System.out System System.out Collections.min(h) Collections.min Collections h String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan= new Scanner(System.in);
		int a=scan.nextInt();
		int b=scan.nextInt();
		int c=scan.nextInt();
		HashSet h=new HashSet();
		int d=a+b;
		h.add(d);
		int e=b+c;
		h.add(e);
		int h1=c+a;
		h.add(h1);
		System.out.println(Collections.min(h));
		

	}

} public class Main {

	public static void main(String[] args) {
		Scanner scan= new Scanner(System.in);
		int a=scan.nextInt();
		int b=scan.nextInt();
		int c=scan.nextInt();
		HashSet h=new HashSet();
		int d=a+b;
		h.add(d);
		int e=b+c;
		h.add(e);
		int h1=c+a;
		h.add(h1);
		System.out.println(Collections.min(h));
		

	}

} Main
import java.util.Collections;
import java.util.HashSet;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan= new Scanner(System.in);
		int a=scan.nextInt();
		int b=scan.nextInt();
		int c=scan.nextInt();
		HashSet h=new HashSet();
		int d=a+b;
		h.add(d);
		int e=b+c;
		h.add(e);
		int h1=c+a;
		h.add(h1);
		System.out.println(Collections.min(h));
		

	}

}
