import java.util.Arrays;
import java.util.Scanner;

public class Main {

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

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int[] d = new int[3];
		d[0] = scanner.nextInt();
		d[1] = scanner.nextInt();
		d[2] = scanner.nextInt();
		Arrays.parallelSort(d);
		System.out.println(d[0] + d[1]);
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int[] d = new int[3];
		d[0] = scanner.nextInt();
		d[1] = scanner.nextInt();
		d[2] = scanner.nextInt();
		Arrays.parallelSort(d);
		System.out.println(d[0] + d[1]);
	} main {
		Scanner scanner = new Scanner(System.in);
		int[] d = new int[3];
		d[0] = scanner.nextInt();
		d[1] = scanner.nextInt();
		d[2] = scanner.nextInt();
		Arrays.parallelSort(d);
		System.out.println(d[0] + d[1]);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int[] d = new int[3]; d new int[3] 3 d[0] = scanner.nextInt() d[0] d 0 scanner.nextInt() scanner.nextInt scanner d[1] = scanner.nextInt() d[1] d 1 scanner.nextInt() scanner.nextInt scanner d[2] = scanner.nextInt() d[2] d 2 scanner.nextInt() scanner.nextInt scanner Arrays.parallelSort(d) Arrays.parallelSort Arrays d System.out.println(d[0] + d[1]) System.out.println System.out System System.out d[0] + d[1] d[0] d 0 d[1] d 1 String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int[] d = new int[3];
		d[0] = scanner.nextInt();
		d[1] = scanner.nextInt();
		d[2] = scanner.nextInt();
		Arrays.parallelSort(d);
		System.out.println(d[0] + d[1]);
	}
} public class Main {

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

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int[] d = new int[3];
		d[0] = scanner.nextInt();
		d[1] = scanner.nextInt();
		d[2] = scanner.nextInt();
		Arrays.parallelSort(d);
		System.out.println(d[0] + d[1]);
	}
}
