import java.util.*;
class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] a = new int[3];
		for(int i = 0; i < a.length; i++) {
			a[i] = sc.nextInt();
		}
		int max = 0;
		int sub = 0;
		for(int i = 0; i < a.length; i++) {
			if( a[i] > max ) {
				max = a[i];
				sub = i;
			}
		}
		int ans = 0;
		for(int i = 0; i < a.length; i++) {
			if( i != sub ) {
				ans += a[i];
			}
		}
		System.out.println(ans);
	}
} import java.util.*; util.* java class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] a = new int[3];
		for(int i = 0; i < a.length; i++) {
			a[i] = sc.nextInt();
		}
		int max = 0;
		int sub = 0;
		for(int i = 0; i < a.length; i++) {
			if( a[i] > max ) {
				max = a[i];
				sub = i;
			}
		}
		int ans = 0;
		for(int i = 0; i < a.length; i++) {
			if( i != sub ) {
				ans += a[i];
			}
		}
		System.out.println(ans);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] a = new int[3];
		for(int i = 0; i < a.length; i++) {
			a[i] = sc.nextInt();
		}
		int max = 0;
		int sub = 0;
		for(int i = 0; i < a.length; i++) {
			if( a[i] > max ) {
				max = a[i];
				sub = i;
			}
		}
		int ans = 0;
		for(int i = 0; i < a.length; i++) {
			if( i != sub ) {
				ans += a[i];
			}
		}
		System.out.println(ans);
	} main {
		Scanner sc = new Scanner(System.in);
		int[] a = new int[3];
		for(int i = 0; i < a.length; i++) {
			a[i] = sc.nextInt();
		}
		int max = 0;
		int sub = 0;
		for(int i = 0; i < a.length; i++) {
			if( a[i] > max ) {
				max = a[i];
				sub = i;
			}
		}
		int ans = 0;
		for(int i = 0; i < a.length; i++) {
			if( i != sub ) {
				ans += a[i];
			}
		}
		System.out.println(ans);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] a = new int[3]; a new int[3] 3 for(int i = 0; i < a.length; i++) {
			a[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < a.length i a.length a a.length i++ i++ i {
			a[i] = sc.nextInt();
		} {
			a[i] = sc.nextInt();
		} a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc int max = 0; max 0 int sub = 0; sub 0 for(int i = 0; i < a.length; i++) {
			if( a[i] > max ) {
				max = a[i];
				sub = i;
			}
		} int i = 0; int i = 0; i 0 i < a.length i a.length a a.length i++ i++ i {
			if( a[i] > max ) {
				max = a[i];
				sub = i;
			}
		} {
			if( a[i] > max ) {
				max = a[i];
				sub = i;
			}
		} if( a[i] > max ) {
				max = a[i];
				sub = i;
			} a[i] > max a[i] a i max {
				max = a[i];
				sub = i;
			} max = a[i] max a[i] a i sub = i sub i int ans = 0; ans 0 for(int i = 0; i < a.length; i++) {
			if( i != sub ) {
				ans += a[i];
			}
		} int i = 0; int i = 0; i 0 i < a.length i a.length a a.length i++ i++ i {
			if( i != sub ) {
				ans += a[i];
			}
		} {
			if( i != sub ) {
				ans += a[i];
			}
		} if( i != sub ) {
				ans += a[i];
			} i != sub i sub {
				ans += a[i];
			} ans += a[i] ans a[i] a i System.out.println(ans) System.out.println System.out System System.out ans String[] args args
import java.util.*;
class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] a = new int[3];
		for(int i = 0; i < a.length; i++) {
			a[i] = sc.nextInt();
		}
		int max = 0;
		int sub = 0;
		for(int i = 0; i < a.length; i++) {
			if( a[i] > max ) {
				max = a[i];
				sub = i;
			}
		}
		int ans = 0;
		for(int i = 0; i < a.length; i++) {
			if( i != sub ) {
				ans += a[i];
			}
		}
		System.out.println(ans);
	}
}