// Andrew Hoffmann

import java.util.Scanner;

public class Monday
{
	public static void main(String[] args)
	{

	
	// Declare Variables

		Circle3 a,b,c,d;
		Alu chip = new Alu();
		Double x,y,z,w;

        // Create circle A        
	a = new Circle3(); 			
	// Give x the value of "A" Circumfrence
	x = a.getCircum(); 			
	// Create circle B
	b = new Circle3(); 			
	// Set b with it's arguments
	b.setAll(x,"RED", "YELLOW"); 
	// Give the var Y the value of B's circumfrence
	y = b.getCircum(); 			
	// Give the var Z the value of B's area
	z = b.getArea();			
	// Set both y and z to the chip class
	chip.setBoth(y,z);			
	// Calculate the average of y and z
	chip.calcAvg();				
	//Return the result
	w = chip.getResult();		
	// Print the value of y and z
	System.out.println(w);		

	}
}