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 sn = new Scanner(System.in);

		int a = sn.nextInt();
		int b = sn.nextInt();
		int c = sn.nextInt();

		List<Integer> list = new ArrayList<Integer>();
	    list.add(a);
	    list.add(b);
	    list.add(c);

	    Collections.sort(list);

		System.out.println(list.get(0) + list.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 sn = new Scanner(System.in);

		int a = sn.nextInt();
		int b = sn.nextInt();
		int c = sn.nextInt();

		List<Integer> list = new ArrayList<Integer>();
	    list.add(a);
	    list.add(b);
	    list.add(c);

	    Collections.sort(list);

		System.out.println(list.get(0) + list.get(1));
	}
} Main public static void main(String[] args) {
		Scanner sn = new Scanner(System.in);

		int a = sn.nextInt();
		int b = sn.nextInt();
		int c = sn.nextInt();

		List<Integer> list = new ArrayList<Integer>();
	    list.add(a);
	    list.add(b);
	    list.add(c);

	    Collections.sort(list);

		System.out.println(list.get(0) + list.get(1));
	} main {
		Scanner sn = new Scanner(System.in);

		int a = sn.nextInt();
		int b = sn.nextInt();
		int c = sn.nextInt();

		List<Integer> list = new ArrayList<Integer>();
	    list.add(a);
	    list.add(b);
	    list.add(c);

	    Collections.sort(list);

		System.out.println(list.get(0) + list.get(1));
	} Scanner sn = new Scanner(System.in); sn new Scanner(System.in) int a = sn.nextInt(); a sn.nextInt() sn.nextInt sn int b = sn.nextInt(); b sn.nextInt() sn.nextInt sn int c = sn.nextInt(); c sn.nextInt() sn.nextInt sn List<Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() list.add(a) list.add list a list.add(b) list.add list b list.add(c) list.add list c Collections.sort(list) Collections.sort Collections list System.out.println(list.get(0) + list.get(1)) System.out.println System.out System System.out list.get(0) + list.get(1) list.get(0) list.get list 0 list.get(1) list.get list 1 String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sn = new Scanner(System.in);

		int a = sn.nextInt();
		int b = sn.nextInt();
		int c = sn.nextInt();

		List<Integer> list = new ArrayList<Integer>();
	    list.add(a);
	    list.add(b);
	    list.add(c);

	    Collections.sort(list);

		System.out.println(list.get(0) + list.get(1));
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sn = new Scanner(System.in);

		int a = sn.nextInt();
		int b = sn.nextInt();
		int c = sn.nextInt();

		List<Integer> list = new ArrayList<Integer>();
	    list.add(a);
	    list.add(b);
	    list.add(c);

	    Collections.sort(list);

		System.out.println(list.get(0) + list.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 sn = new Scanner(System.in);

		int a = sn.nextInt();
		int b = sn.nextInt();
		int c = sn.nextInt();

		List<Integer> list = new ArrayList<Integer>();
	    list.add(a);
	    list.add(b);
	    list.add(c);

	    Collections.sort(list);

		System.out.println(list.get(0) + list.get(1));
	}
}