import java.io.PrintStream;
import java.util.Scanner;

public class Main {
	static final PrintStream out = System.out;
	static Scanner sc = new Scanner(System.in);
	static final long Mod = 1000_000_007L;
	public static void main(String[] args) {
		Main main = new Main();
		main.solve();
		System.exit(0);
	}

	void solve() {
		int[] a = new int[3];
		int Max = 0;
		int res = 0;
		for(int i=0;i<3;i++) {
			int t = nextInt();
			res += t;
			Max = Math.max(t,Max);
		}
		out.println(res-Max);
	}


	private static int nextInt() {
		return Integer.parseInt(next());
	}
	private static long nextLong() {
		return Long.parseLong(next());
	}
	private static String next() {
		return sc.next();
	}

} import java.io.PrintStream; PrintStream java.io import java.util.Scanner; Scanner java.util public class Main {
	static final PrintStream out = System.out;
	static Scanner sc = new Scanner(System.in);
	static final long Mod = 1000_000_007L;
	public static void main(String[] args) {
		Main main = new Main();
		main.solve();
		System.exit(0);
	}

	void solve() {
		int[] a = new int[3];
		int Max = 0;
		int res = 0;
		for(int i=0;i<3;i++) {
			int t = nextInt();
			res += t;
			Max = Math.max(t,Max);
		}
		out.println(res-Max);
	}


	private static int nextInt() {
		return Integer.parseInt(next());
	}
	private static long nextLong() {
		return Long.parseLong(next());
	}
	private static String next() {
		return sc.next();
	}

} Main static final PrintStream out = System.out; out System.out System System.out static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) static final long Mod = 1000_000_007L; Mod 1000_000_007L public static void main(String[] args) {
		Main main = new Main();
		main.solve();
		System.exit(0);
	} main {
		Main main = new Main();
		main.solve();
		System.exit(0);
	} Main main = new Main(); main new Main() main.solve() main.solve main System.exit(0) System.exit System 0 String[] args args void solve() {
		int[] a = new int[3];
		int Max = 0;
		int res = 0;
		for(int i=0;i<3;i++) {
			int t = nextInt();
			res += t;
			Max = Math.max(t,Max);
		}
		out.println(res-Max);
	} solve {
		int[] a = new int[3];
		int Max = 0;
		int res = 0;
		for(int i=0;i<3;i++) {
			int t = nextInt();
			res += t;
			Max = Math.max(t,Max);
		}
		out.println(res-Max);
	} int[] a = new int[3]; a new int[3] 3 int Max = 0; Max 0 int res = 0; res 0 for(int i=0;i<3;i++) {
			int t = nextInt();
			res += t;
			Max = Math.max(t,Max);
		} int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
			int t = nextInt();
			res += t;
			Max = Math.max(t,Max);
		} {
			int t = nextInt();
			res += t;
			Max = Math.max(t,Max);
		} int t = nextInt(); t nextInt() nextInt res += t res t Max = Math.max(t,Max) Max Math.max(t,Max) Math.max Math t Max out.println(res-Max) out.println out res-Max res Max private static int nextInt() {
		return Integer.parseInt(next());
	} nextInt {
		return Integer.parseInt(next());
	} return Integer.parseInt(next()); Integer.parseInt(next()) Integer.parseInt Integer next() next private static long nextLong() {
		return Long.parseLong(next());
	} nextLong {
		return Long.parseLong(next());
	} return Long.parseLong(next()); Long.parseLong(next()) Long.parseLong Long next() next private static String next() {
		return sc.next();
	} next {
		return sc.next();
	} return sc.next(); sc.next() sc.next sc public class Main {
	static final PrintStream out = System.out;
	static Scanner sc = new Scanner(System.in);
	static final long Mod = 1000_000_007L;
	public static void main(String[] args) {
		Main main = new Main();
		main.solve();
		System.exit(0);
	}

	void solve() {
		int[] a = new int[3];
		int Max = 0;
		int res = 0;
		for(int i=0;i<3;i++) {
			int t = nextInt();
			res += t;
			Max = Math.max(t,Max);
		}
		out.println(res-Max);
	}


	private static int nextInt() {
		return Integer.parseInt(next());
	}
	private static long nextLong() {
		return Long.parseLong(next());
	}
	private static String next() {
		return sc.next();
	}

} public class Main {
	static final PrintStream out = System.out;
	static Scanner sc = new Scanner(System.in);
	static final long Mod = 1000_000_007L;
	public static void main(String[] args) {
		Main main = new Main();
		main.solve();
		System.exit(0);
	}

	void solve() {
		int[] a = new int[3];
		int Max = 0;
		int res = 0;
		for(int i=0;i<3;i++) {
			int t = nextInt();
			res += t;
			Max = Math.max(t,Max);
		}
		out.println(res-Max);
	}


	private static int nextInt() {
		return Integer.parseInt(next());
	}
	private static long nextLong() {
		return Long.parseLong(next());
	}
	private static String next() {
		return sc.next();
	}

} Main
import java.io.PrintStream;
import java.util.Scanner;

public class Main {
	static final PrintStream out = System.out;
	static Scanner sc = new Scanner(System.in);
	static final long Mod = 1000_000_007L;
	public static void main(String[] args) {
		Main main = new Main();
		main.solve();
		System.exit(0);
	}

	void solve() {
		int[] a = new int[3];
		int Max = 0;
		int res = 0;
		for(int i=0;i<3;i++) {
			int t = nextInt();
			res += t;
			Max = Math.max(t,Max);
		}
		out.println(res-Max);
	}


	private static int nextInt() {
		return Integer.parseInt(next());
	}
	private static long nextLong() {
		return Long.parseLong(next());
	}
	private static String next() {
		return sc.next();
	}

}