import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] input = br.readLine().split(" "); int[] a = new int[3]; for(int i = 0; i < 3; i++) a[i] = Integer.parseInt(input[i]); int min = a[0]; for(int i = 1; i < 3; i++) { if(min > a[i]) min = a[i]; } System.out.println(min); } }