public static void main(String[] args)
	{
		Scanner input = new Scanner(System.in);
		double[] min = new double[3];
		
		for(int i=0; i<3; i++)
		{
			min[i] = input.nextDouble();
		}
		Arrays.sort(min);
		System.out.println(min[0]);
	}