import java.util.*;
public class MaxFinder
{
	public static void main(String[] args)
	{

		System.out.println("8.0/5.0 = " + 8/5 + ", 3/4 = " + 3.0/4.0);
		System.out.println("8/5 = " + 8.0/5.0 + ", 3.0/4.0 = " + 3/4);
		System.out.println((double)8/5 + " " + (double)(5/8) + " " + (8.0 *5/8) + " " + (8.0*(5/8)));
		System.out.println(4 + 3);

		Scanner stdin = new Scanner(System.in);
		double x, y, z, max;
		System.out.println("Please input three values:");
		x = stdin.nextDouble();
		y = stdin.nextDouble();
		z = stdin.nextDouble();
		
		max = x;
		if (y > max && y > z)
			max = y;
		else if (z > max && z > y)
			max = z;

		System.out.println("Max value is "+max);
	}
}
