import java.util.*;

public class Main{
	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		int max = 0;
		int sum = 0;
		for(int i = 0; i < 3; i++) {
			int x = sc.nextInt();
			max = Math.max(max, x);
			sum += x;
		}
		System.out.println(sum - max);
	}
} import java.util.*; util.* java public class Main{
	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		int max = 0;
		int sum = 0;
		for(int i = 0; i < 3; i++) {
			int x = sc.nextInt();
			max = Math.max(max, x);
			sum += x;
		}
		System.out.println(sum - max);
	}
} Main public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		int max = 0;
		int sum = 0;
		for(int i = 0; i < 3; i++) {
			int x = sc.nextInt();
			max = Math.max(max, x);
			sum += x;
		}
		System.out.println(sum - max);
	} main {

		Scanner sc = new Scanner(System.in);
		int max = 0;
		int sum = 0;
		for(int i = 0; i < 3; i++) {
			int x = sc.nextInt();
			max = Math.max(max, x);
			sum += x;
		}
		System.out.println(sum - max);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int max = 0; max 0 int sum = 0; sum 0 for(int i = 0; i < 3; i++) {
			int x = sc.nextInt();
			max = Math.max(max, x);
			sum += x;
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			int x = sc.nextInt();
			max = Math.max(max, x);
			sum += x;
		} {
			int x = sc.nextInt();
			max = Math.max(max, x);
			sum += x;
		} int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc max = Math.max(max, x) max Math.max(max, x) Math.max Math max x sum += x sum x System.out.println(sum - max) System.out.println System.out System System.out sum - max sum max String args[] args public class Main{
	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		int max = 0;
		int sum = 0;
		for(int i = 0; i < 3; i++) {
			int x = sc.nextInt();
			max = Math.max(max, x);
			sum += x;
		}
		System.out.println(sum - max);
	}
} public class Main{
	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		int max = 0;
		int sum = 0;
		for(int i = 0; i < 3; i++) {
			int x = sc.nextInt();
			max = Math.max(max, x);
			sum += x;
		}
		System.out.println(sum - max);
	}
} Main
import java.util.*;

public class Main{
	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		int max = 0;
		int sum = 0;
		for(int i = 0; i < 3; i++) {
			int x = sc.nextInt();
			max = Math.max(max, x);
			sum += x;
		}
		System.out.println(sum - max);
	}
}