import java.util.Scanner;
public class Min {
public static void main(String[] args) {
int x,y,z;
Scanner scanner = new Scanner(System.in);
x = scanner.nextInt();
y = scanner.nextInt();
z = scanner.nextInt();
System.out.println(x>y?(y>z?z:y):(x>z?z:x));
}
}
if判断大小吗。