import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc= new Scanner(System.in);
		List<Integer> list = new ArrayList<>();
		for(int i = 0; i < 3; i++) {
		list.add(Integer.parseInt(sc.next()));
		}
		list.sort(null);
		int ans = list.get(0) + list.get(1);
		System.out.print(ans);
	}

} import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc= new Scanner(System.in);
		List<Integer> list = new ArrayList<>();
		for(int i = 0; i < 3; i++) {
		list.add(Integer.parseInt(sc.next()));
		}
		list.sort(null);
		int ans = list.get(0) + list.get(1);
		System.out.print(ans);
	}

} Main public static void main(String[] args) {
		Scanner sc= new Scanner(System.in);
		List<Integer> list = new ArrayList<>();
		for(int i = 0; i < 3; i++) {
		list.add(Integer.parseInt(sc.next()));
		}
		list.sort(null);
		int ans = list.get(0) + list.get(1);
		System.out.print(ans);
	} main {
		Scanner sc= new Scanner(System.in);
		List<Integer> list = new ArrayList<>();
		for(int i = 0; i < 3; i++) {
		list.add(Integer.parseInt(sc.next()));
		}
		list.sort(null);
		int ans = list.get(0) + list.get(1);
		System.out.print(ans);
	} Scanner sc= new Scanner(System.in); sc new Scanner(System.in) List<Integer> list = new ArrayList<>(); list new ArrayList<>() for(int i = 0; i < 3; i++) {
		list.add(Integer.parseInt(sc.next()));
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
		list.add(Integer.parseInt(sc.next()));
		} {
		list.add(Integer.parseInt(sc.next()));
		} list.add(Integer.parseInt(sc.next())) list.add list Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc list.sort(null) list.sort list null int ans = list.get(0) + list.get(1); ans list.get(0) + list.get(1) list.get(0) list.get list 0 list.get(1) list.get list 1 System.out.print(ans) System.out.print System.out System System.out ans String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc= new Scanner(System.in);
		List<Integer> list = new ArrayList<>();
		for(int i = 0; i < 3; i++) {
		list.add(Integer.parseInt(sc.next()));
		}
		list.sort(null);
		int ans = list.get(0) + list.get(1);
		System.out.print(ans);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc= new Scanner(System.in);
		List<Integer> list = new ArrayList<>();
		for(int i = 0; i < 3; i++) {
		list.add(Integer.parseInt(sc.next()));
		}
		list.sort(null);
		int ans = list.get(0) + list.get(1);
		System.out.print(ans);
	}

} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc= new Scanner(System.in);
		List<Integer> list = new ArrayList<>();
		for(int i = 0; i < 3; i++) {
		list.add(Integer.parseInt(sc.next()));
		}
		list.sort(null);
		int ans = list.get(0) + list.get(1);
		System.out.print(ans);
	}

}
