import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner seer = new Scanner(System.in);
		int a = seer.nextInt();
		int b = seer.nextInt();
		int c = seer.nextInt();
		System.out.println(Integer.min(Integer.min(a+b, b+c), c+a));
	}

} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		Scanner seer = new Scanner(System.in);
		int a = seer.nextInt();
		int b = seer.nextInt();
		int c = seer.nextInt();
		System.out.println(Integer.min(Integer.min(a+b, b+c), c+a));
	}

} Main public static void main(String[] args) {
		Scanner seer = new Scanner(System.in);
		int a = seer.nextInt();
		int b = seer.nextInt();
		int c = seer.nextInt();
		System.out.println(Integer.min(Integer.min(a+b, b+c), c+a));
	} main {
		Scanner seer = new Scanner(System.in);
		int a = seer.nextInt();
		int b = seer.nextInt();
		int c = seer.nextInt();
		System.out.println(Integer.min(Integer.min(a+b, b+c), c+a));
	} Scanner seer = new Scanner(System.in); seer new Scanner(System.in) int a = seer.nextInt(); a seer.nextInt() seer.nextInt seer int b = seer.nextInt(); b seer.nextInt() seer.nextInt seer int c = seer.nextInt(); c seer.nextInt() seer.nextInt seer System.out.println(Integer.min(Integer.min(a+b, b+c), c+a)) System.out.println System.out System System.out Integer.min(Integer.min(a+b, b+c), c+a) Integer.min Integer Integer.min(a+b, b+c) Integer.min Integer a+b a b b+c b c c+a c a String[] args args public class Main {

	public static void main(String[] args) {
		Scanner seer = new Scanner(System.in);
		int a = seer.nextInt();
		int b = seer.nextInt();
		int c = seer.nextInt();
		System.out.println(Integer.min(Integer.min(a+b, b+c), c+a));
	}

} public class Main {

	public static void main(String[] args) {
		Scanner seer = new Scanner(System.in);
		int a = seer.nextInt();
		int b = seer.nextInt();
		int c = seer.nextInt();
		System.out.println(Integer.min(Integer.min(a+b, b+c), c+a));
	}

} Main
import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner seer = new Scanner(System.in);
		int a = seer.nextInt();
		int b = seer.nextInt();
		int c = seer.nextInt();
		System.out.println(Integer.min(Integer.min(a+b, b+c), c+a));
	}

}
