import java.util.ArrayList;
import java.util.Collections;
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> flight = new ArrayList<>();
		for(int i=0;i<3;i++) {
			flight.add(sc.nextInt());
		}
		Collections.sort(flight);
		System.out.println(flight.get(0) + flight.get(1));
	}
} import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections 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> flight = new ArrayList<>();
		for(int i=0;i<3;i++) {
			flight.add(sc.nextInt());
		}
		Collections.sort(flight);
		System.out.println(flight.get(0) + flight.get(1));
	}
} Main public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		List<Integer> flight = new ArrayList<>();
		for(int i=0;i<3;i++) {
			flight.add(sc.nextInt());
		}
		Collections.sort(flight);
		System.out.println(flight.get(0) + flight.get(1));
	} main {

		Scanner sc = new Scanner(System.in);
		List<Integer> flight = new ArrayList<>();
		for(int i=0;i<3;i++) {
			flight.add(sc.nextInt());
		}
		Collections.sort(flight);
		System.out.println(flight.get(0) + flight.get(1));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) List<Integer> flight = new ArrayList<>(); flight new ArrayList<>() for(int i=0;i<3;i++) {
			flight.add(sc.nextInt());
		} int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
			flight.add(sc.nextInt());
		} {
			flight.add(sc.nextInt());
		} flight.add(sc.nextInt()) flight.add flight sc.nextInt() sc.nextInt sc Collections.sort(flight) Collections.sort Collections flight System.out.println(flight.get(0) + flight.get(1)) System.out.println System.out System System.out flight.get(0) + flight.get(1) flight.get(0) flight.get flight 0 flight.get(1) flight.get flight 1 String args[] args public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		List<Integer> flight = new ArrayList<>();
		for(int i=0;i<3;i++) {
			flight.add(sc.nextInt());
		}
		Collections.sort(flight);
		System.out.println(flight.get(0) + flight.get(1));
	}
} public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		List<Integer> flight = new ArrayList<>();
		for(int i=0;i<3;i++) {
			flight.add(sc.nextInt());
		}
		Collections.sort(flight);
		System.out.println(flight.get(0) + flight.get(1));
	}
} Main
import java.util.ArrayList;
import java.util.Collections;
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> flight = new ArrayList<>();
		for(int i=0;i<3;i++) {
			flight.add(sc.nextInt());
		}
		Collections.sort(flight);
		System.out.println(flight.get(0) + flight.get(1));
	}
}
