import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner sc =new Scanner(System.in);
		int sum = 0;
		int[] line = new int[3];

		for (int i = 0; i < 3; i++) {
			line[i] = sc.nextInt();
			sum += line[i];
		}

		int min = Integer.MAX_VALUE;

		for (int i = 0; i < 3; i++) {
			min = Math.min(min, sum-line[i]);
		}

		System.out.println(min);
		
	}

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

	public static void main(String[] args) {
		Scanner sc =new Scanner(System.in);
		int sum = 0;
		int[] line = new int[3];

		for (int i = 0; i < 3; i++) {
			line[i] = sc.nextInt();
			sum += line[i];
		}

		int min = Integer.MAX_VALUE;

		for (int i = 0; i < 3; i++) {
			min = Math.min(min, sum-line[i]);
		}

		System.out.println(min);
		
	}

} Main public static void main(String[] args) {
		Scanner sc =new Scanner(System.in);
		int sum = 0;
		int[] line = new int[3];

		for (int i = 0; i < 3; i++) {
			line[i] = sc.nextInt();
			sum += line[i];
		}

		int min = Integer.MAX_VALUE;

		for (int i = 0; i < 3; i++) {
			min = Math.min(min, sum-line[i]);
		}

		System.out.println(min);
		
	} main {
		Scanner sc =new Scanner(System.in);
		int sum = 0;
		int[] line = new int[3];

		for (int i = 0; i < 3; i++) {
			line[i] = sc.nextInt();
			sum += line[i];
		}

		int min = Integer.MAX_VALUE;

		for (int i = 0; i < 3; i++) {
			min = Math.min(min, sum-line[i]);
		}

		System.out.println(min);
		
	} Scanner sc =new Scanner(System.in); sc new Scanner(System.in) int sum = 0; sum 0 int[] line = new int[3]; line new int[3] 3 for (int i = 0; i < 3; i++) {
			line[i] = sc.nextInt();
			sum += line[i];
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			line[i] = sc.nextInt();
			sum += line[i];
		} {
			line[i] = sc.nextInt();
			sum += line[i];
		} line[i] = sc.nextInt() line[i] line i sc.nextInt() sc.nextInt sc sum += line[i] sum line[i] line i int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE for (int i = 0; i < 3; i++) {
			min = Math.min(min, sum-line[i]);
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			min = Math.min(min, sum-line[i]);
		} {
			min = Math.min(min, sum-line[i]);
		} min = Math.min(min, sum-line[i]) min Math.min(min, sum-line[i]) Math.min Math min sum-line[i] sum line[i] line 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 sum = 0;
		int[] line = new int[3];

		for (int i = 0; i < 3; i++) {
			line[i] = sc.nextInt();
			sum += line[i];
		}

		int min = Integer.MAX_VALUE;

		for (int i = 0; i < 3; i++) {
			min = Math.min(min, sum-line[i]);
		}

		System.out.println(min);
		
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc =new Scanner(System.in);
		int sum = 0;
		int[] line = new int[3];

		for (int i = 0; i < 3; i++) {
			line[i] = sc.nextInt();
			sum += line[i];
		}

		int min = Integer.MAX_VALUE;

		for (int i = 0; i < 3; i++) {
			min = Math.min(min, sum-line[i]);
		}

		System.out.println(min);
		
	}

} Main
import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner sc =new Scanner(System.in);
		int sum = 0;
		int[] line = new int[3];

		for (int i = 0; i < 3; i++) {
			line[i] = sc.nextInt();
			sum += line[i];
		}

		int min = Integer.MAX_VALUE;

		for (int i = 0; i < 3; i++) {
			min = Math.min(min, sum-line[i]);
		}

		System.out.println(min);
		
	}

}
