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

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		int[] t = new int[3];
		t[0] = Integer.parseInt(sc.next());
		t[1] = Integer.parseInt(sc.next());
		t[2] = Integer.parseInt(sc.next());
		sc.close();

		Arrays.sort(t);

		System.out.println(t[0] + t[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 sc = new Scanner(System.in);
		int[] t = new int[3];
		t[0] = Integer.parseInt(sc.next());
		t[1] = Integer.parseInt(sc.next());
		t[2] = Integer.parseInt(sc.next());
		sc.close();

		Arrays.sort(t);

		System.out.println(t[0] + t[1]);

	}

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

		Scanner sc = new Scanner(System.in);
		int[] t = new int[3];
		t[0] = Integer.parseInt(sc.next());
		t[1] = Integer.parseInt(sc.next());
		t[2] = Integer.parseInt(sc.next());
		sc.close();

		Arrays.sort(t);

		System.out.println(t[0] + t[1]);

	} main {

		Scanner sc = new Scanner(System.in);
		int[] t = new int[3];
		t[0] = Integer.parseInt(sc.next());
		t[1] = Integer.parseInt(sc.next());
		t[2] = Integer.parseInt(sc.next());
		sc.close();

		Arrays.sort(t);

		System.out.println(t[0] + t[1]);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] t = new int[3]; t new int[3] 3 t[0] = Integer.parseInt(sc.next()) t[0] t 0 Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc t[1] = Integer.parseInt(sc.next()) t[1] t 1 Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc t[2] = Integer.parseInt(sc.next()) t[2] t 2 Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc sc.close() sc.close sc Arrays.sort(t) Arrays.sort Arrays t System.out.println(t[0] + t[1]) System.out.println System.out System System.out t[0] + t[1] t[0] t 0 t[1] t 1 String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		int[] t = new int[3];
		t[0] = Integer.parseInt(sc.next());
		t[1] = Integer.parseInt(sc.next());
		t[2] = Integer.parseInt(sc.next());
		sc.close();

		Arrays.sort(t);

		System.out.println(t[0] + t[1]);

	}

} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		int[] t = new int[3];
		t[0] = Integer.parseInt(sc.next());
		t[1] = Integer.parseInt(sc.next());
		t[2] = Integer.parseInt(sc.next());
		sc.close();

		Arrays.sort(t);

		System.out.println(t[0] + t[1]);

	}

} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		int[] t = new int[3];
		t[0] = Integer.parseInt(sc.next());
		t[1] = Integer.parseInt(sc.next());
		t[2] = Integer.parseInt(sc.next());
		sc.close();

		Arrays.sort(t);

		System.out.println(t[0] + t[1]);

	}

}
