import java.util.Scanner;
public class Main{
  public static void main(String[] args){
    Scanner s = new Scanner(System.in);

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

    int d = a+b;
    int e = a+c;
    int f = b+c;

    int[] g = {d,e,f};
    int h = g[0];

    for(int i = 0; i < g.length; i++){
      h = Math.min(h,g[i]);

    }
    System.out.println(h);
  }
} import java.util.Scanner; Scanner java.util public class Main{
  public static void main(String[] args){
    Scanner s = new Scanner(System.in);

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

    int d = a+b;
    int e = a+c;
    int f = b+c;

    int[] g = {d,e,f};
    int h = g[0];

    for(int i = 0; i < g.length; i++){
      h = Math.min(h,g[i]);

    }
    System.out.println(h);
  }
} Main public static void main(String[] args){
    Scanner s = new Scanner(System.in);

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

    int d = a+b;
    int e = a+c;
    int f = b+c;

    int[] g = {d,e,f};
    int h = g[0];

    for(int i = 0; i < g.length; i++){
      h = Math.min(h,g[i]);

    }
    System.out.println(h);
  } main {
    Scanner s = new Scanner(System.in);

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

    int d = a+b;
    int e = a+c;
    int f = b+c;

    int[] g = {d,e,f};
    int h = g[0];

    for(int i = 0; i < g.length; i++){
      h = Math.min(h,g[i]);

    }
    System.out.println(h);
  } Scanner s = new Scanner(System.in); s new Scanner(System.in) int a = s.nextInt(); a s.nextInt() s.nextInt s int b = s.nextInt(); b s.nextInt() s.nextInt s int c = s.nextInt(); c s.nextInt() s.nextInt s int d = a+b; d a+b a b int e = a+c; e a+c a c int f = b+c; f b+c b c int[] g = {d,e,f}; g {d,e,f} d e f int h = g[0]; h g[0] g 0 for(int i = 0; i < g.length; i++){
      h = Math.min(h,g[i]);

    } int i = 0; int i = 0; i 0 i < g.length i g.length g g.length i++ i++ i {
      h = Math.min(h,g[i]);

    } {
      h = Math.min(h,g[i]);

    } h = Math.min(h,g[i]) h Math.min(h,g[i]) Math.min Math h g[i] g i System.out.println(h) System.out.println System.out System System.out h String[] args args public class Main{
  public static void main(String[] args){
    Scanner s = new Scanner(System.in);

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

    int d = a+b;
    int e = a+c;
    int f = b+c;

    int[] g = {d,e,f};
    int h = g[0];

    for(int i = 0; i < g.length; i++){
      h = Math.min(h,g[i]);

    }
    System.out.println(h);
  }
} public class Main{
  public static void main(String[] args){
    Scanner s = new Scanner(System.in);

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

    int d = a+b;
    int e = a+c;
    int f = b+c;

    int[] g = {d,e,f};
    int h = g[0];

    for(int i = 0; i < g.length; i++){
      h = Math.min(h,g[i]);

    }
    System.out.println(h);
  }
} Main
import java.util.Scanner;
public class Main{
  public static void main(String[] args){
    Scanner s = new Scanner(System.in);

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

    int d = a+b;
    int e = a+c;
    int f = b+c;

    int[] g = {d,e,f};
    int h = g[0];

    for(int i = 0; i < g.length; i++){
      h = Math.min(h,g[i]);

    }
    System.out.println(h);
  }
}
