import java.util.*;
import java.util.ArrayList;

public class Main{
	public static void main(String[] args){

		// 値取得
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer> nums  = new ArrayList<>();
		while(sc.hasNext()){
			nums.add(sc.nextInt());

		}
		int kilo1 = 0;
		int kilo2 = 0;
		int kilo3 = 0;

		// 最短の飛行時間を計算する
		// それぞれのパーターンで時間の和を計算して最少を求める
		kilo1 = nums.get(0) + nums.get(1);
		kilo2 = nums.get(0) + nums.get(2);
		kilo3 = nums.get(1) + nums.get(2);
		if(kilo1 <= kilo2 && kilo1 <= kilo3){

			System.out.println(kilo1);
		}else if(kilo2 <= kilo1 && kilo2 <= kilo3){

			System.out.println(kilo2);				
		}else{

			System.out.println(kilo3);

		}
	}

}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz