import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;

/**
 * ABC129、A問題の実装クラス
 */
public class Main {

    /**
     * 標準入力からの入力をもとに、最短の飛行時間を求める
     */
    public static void main(String... args) {

        String line = null;
        BufferedReader br = null;
        try {
            br = new BufferedReader(new InputStreamReader(System.in));
            line = br.readLine();
            
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                br.close();
            } catch (Exception e) {}
        }
        
      	// 読み取った文字列を空白スペースで分割。昇順でソート
        String[] times = line.trim().split(" ");
        Arrays.sort(times);

        System.out.println(Integer.parseInt(times[0]) + Integer.parseInt(times[1]));
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.*; util.* java public class Main {

    /**
     * 標準入力からの入力をもとに、最短の飛行時間を求める
     */
    public static void main(String... args) {

        String line = null;
        BufferedReader br = null;
        try {
            br = new BufferedReader(new InputStreamReader(System.in));
            line = br.readLine();
            
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                br.close();
            } catch (Exception e) {}
        }
        
      	// 読み取った文字列を空白スペースで分割。昇順でソート
        String[] times = line.trim().split(" ");
        Arrays.sort(times);

        System.out.println(Integer.parseInt(times[0]) + Integer.parseInt(times[1]));
    }
} Main /**
     * 標準入力からの入力をもとに、最短の飛行時間を求める
     */
    public static void main(String... args) {

        String line = null;
        BufferedReader br = null;
        try {
            br = new BufferedReader(new InputStreamReader(System.in));
            line = br.readLine();
            
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                br.close();
            } catch (Exception e) {}
        }
        
      	// 読み取った文字列を空白スペースで分割。昇順でソート
        String[] times = line.trim().split(" ");
        Arrays.sort(times);

        System.out.println(Integer.parseInt(times[0]) + Integer.parseInt(times[1]));
    } main {

        String line = null;
        BufferedReader br = null;
        try {
            br = new BufferedReader(new InputStreamReader(System.in));
            line = br.readLine();
            
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                br.close();
            } catch (Exception e) {}
        }
        
      	// 読み取った文字列を空白スペースで分割。昇順でソート
        String[] times = line.trim().split(" ");
        Arrays.sort(times);

        System.out.println(Integer.parseInt(times[0]) + Integer.parseInt(times[1]));
    } String line = null; line null BufferedReader br = null; br null try {
            br = new BufferedReader(new InputStreamReader(System.in));
            line = br.readLine();
            
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                br.close();
            } catch (Exception e) {}
        } catch (IOException e) {
            e.printStackTrace();
        } IOException e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
            try {
                br.close();
            } catch (Exception e) {}
        } try {
                br.close();
            } catch (Exception e) {} catch (Exception e) {} Exception e {} {
                br.close();
            } br.close() br.close br {
            br = new BufferedReader(new InputStreamReader(System.in));
            line = br.readLine();
            
        } br = new BufferedReader(new InputStreamReader(System.in)) br new BufferedReader(new InputStreamReader(System.in)) line = br.readLine() line br.readLine() br.readLine br String[] times = line.trim().split(" "); times line.trim().split(" ") line.trim().split line.trim() line.trim line " " Arrays.sort(times) Arrays.sort Arrays times System.out.println(Integer.parseInt(times[0]) + Integer.parseInt(times[1])) System.out.println System.out System System.out Integer.parseInt(times[0]) + Integer.parseInt(times[1]) Integer.parseInt(times[0]) Integer.parseInt Integer times[0] times 0 Integer.parseInt(times[1]) Integer.parseInt Integer times[1] times 1 String... args args public class Main {

    /**
     * 標準入力からの入力をもとに、最短の飛行時間を求める
     */
    public static void main(String... args) {

        String line = null;
        BufferedReader br = null;
        try {
            br = new BufferedReader(new InputStreamReader(System.in));
            line = br.readLine();
            
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                br.close();
            } catch (Exception e) {}
        }
        
      	// 読み取った文字列を空白スペースで分割。昇順でソート
        String[] times = line.trim().split(" ");
        Arrays.sort(times);

        System.out.println(Integer.parseInt(times[0]) + Integer.parseInt(times[1]));
    }
} public class Main {

    /**
     * 標準入力からの入力をもとに、最短の飛行時間を求める
     */
    public static void main(String... args) {

        String line = null;
        BufferedReader br = null;
        try {
            br = new BufferedReader(new InputStreamReader(System.in));
            line = br.readLine();
            
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                br.close();
            } catch (Exception e) {}
        }
        
      	// 読み取った文字列を空白スペースで分割。昇順でソート
        String[] times = line.trim().split(" ");
        Arrays.sort(times);

        System.out.println(Integer.parseInt(times[0]) + Integer.parseInt(times[1]));
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;

/**
 * ABC129、A問題の実装クラス
 */
public class Main {

    /**
     * 標準入力からの入力をもとに、最短の飛行時間を求める
     */
    public static void main(String... args) {

        String line = null;
        BufferedReader br = null;
        try {
            br = new BufferedReader(new InputStreamReader(System.in));
            line = br.readLine();
            
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                br.close();
            } catch (Exception e) {}
        }
        
      	// 読み取った文字列を空白スペースで分割。昇順でソート
        String[] times = line.trim().split(" ");
        Arrays.sort(times);

        System.out.println(Integer.parseInt(times[0]) + Integer.parseInt(times[1]));
    }
}