import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int n2 = sc.nextInt(); int n3 = sc.nextInt(); if (n <= n2 || n <= n3){ System.out.println(n); }else if(n2 <= n3){ System.out.println(n2); }else { System.out.println(n3); } } }