import java.util.Scanner;
class Main
{
	public static void main(String args[])
	{
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int c=sc.nextInt();

        int ab=a+b;
        int ac=a+c;
        int bc=b+c;

        System.out.println(Math.min(Math.min(ab,ac),bc));
    }
} import java.util.Scanner; Scanner java.util class Main
{
	public static void main(String args[])
	{
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int c=sc.nextInt();

        int ab=a+b;
        int ac=a+c;
        int bc=b+c;

        System.out.println(Math.min(Math.min(ab,ac),bc));
    }
} Main public static void main(String args[])
	{
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int c=sc.nextInt();

        int ab=a+b;
        int ac=a+c;
        int bc=b+c;

        System.out.println(Math.min(Math.min(ab,ac),bc));
    } main {
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int c=sc.nextInt();

        int ab=a+b;
        int ac=a+c;
        int bc=b+c;

        System.out.println(Math.min(Math.min(ab,ac),bc));
    } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int a=sc.nextInt(); a sc.nextInt() sc.nextInt sc int b=sc.nextInt(); b sc.nextInt() sc.nextInt sc int c=sc.nextInt(); c sc.nextInt() sc.nextInt sc int ab=a+b; ab a+b a b int ac=a+c; ac a+c a c int bc=b+c; bc b+c b c System.out.println(Math.min(Math.min(ab,ac),bc)) System.out.println System.out System System.out Math.min(Math.min(ab,ac),bc) Math.min Math Math.min(ab,ac) Math.min Math ab ac bc String args[] args
import java.util.Scanner;
class Main
{
	public static void main(String args[])
	{
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int c=sc.nextInt();

        int ab=a+b;
        int ac=a+c;
        int bc=b+c;

        System.out.println(Math.min(Math.min(ab,ac),bc));
    }
}