import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String[] line = reader.readLine().split(" ");
		int[] N = new int[3];
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < 3; i++) {
			for (int k = i+1; k < 3; k++) {
				if (i != k) {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				}
			}
		}
		System.out.println(min);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String[] line = reader.readLine().split(" ");
		int[] N = new int[3];
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < 3; i++) {
			for (int k = i+1; k < 3; k++) {
				if (i != k) {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				}
			}
		}
		System.out.println(min);
	}
} Main public static void main(String[] args) throws Exception {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String[] line = reader.readLine().split(" ");
		int[] N = new int[3];
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < 3; i++) {
			for (int k = i+1; k < 3; k++) {
				if (i != k) {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				}
			}
		}
		System.out.println(min);
	} main {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String[] line = reader.readLine().split(" ");
		int[] N = new int[3];
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < 3; i++) {
			for (int k = i+1; k < 3; k++) {
				if (i != k) {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				}
			}
		}
		System.out.println(min);
	} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String[] line = reader.readLine().split(" "); line reader.readLine().split(" ") reader.readLine().split reader.readLine() reader.readLine reader " " int[] N = new int[3]; N new int[3] 3 int min = Integer.MAX_VALUE; min Integer.MAX_VALUE Integer Integer.MAX_VALUE for (int i = 0; i < 3; i++) {
			for (int k = i+1; k < 3; k++) {
				if (i != k) {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				}
			}
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			for (int k = i+1; k < 3; k++) {
				if (i != k) {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				}
			}
		} {
			for (int k = i+1; k < 3; k++) {
				if (i != k) {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				}
			}
		} for (int k = i+1; k < 3; k++) {
				if (i != k) {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				}
			} int k = i+1; int k = i+1; k i+1 i 1 k < 3 k 3 k++ k++ k {
				if (i != k) {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				}
			} {
				if (i != k) {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				}
			} if (i != k) {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				} i != k i k {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				} int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); sum Integer.parseInt(line[i]) + Integer.parseInt(line[k]) Integer.parseInt(line[i]) Integer.parseInt Integer line[i] line i Integer.parseInt(line[k]) Integer.parseInt Integer line[k] line k if (sum < min) {
						min = sum;
					} sum < min sum min {
						min = sum;
					} min = sum min sum System.out.println(min) System.out.println System.out System System.out min String[] args args public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String[] line = reader.readLine().split(" ");
		int[] N = new int[3];
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < 3; i++) {
			for (int k = i+1; k < 3; k++) {
				if (i != k) {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				}
			}
		}
		System.out.println(min);
	}
} public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String[] line = reader.readLine().split(" ");
		int[] N = new int[3];
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < 3; i++) {
			for (int k = i+1; k < 3; k++) {
				if (i != k) {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				}
			}
		}
		System.out.println(min);
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String[] line = reader.readLine().split(" ");
		int[] N = new int[3];
		int min = Integer.MAX_VALUE;
		for (int i = 0; i < 3; i++) {
			for (int k = i+1; k < 3; k++) {
				if (i != k) {
					int sum = Integer.parseInt(line[i]) + Integer.parseInt(line[k]); 
					if (sum < min) {
						min = sum;
					}
				}
			}
		}
		System.out.println(min);
	}
}