import java.util.Scanner;
import java.text.*;
class Main {
public static void main(String[] args) {
//DEFINE ALL VARIBLES
Scanner s = new Scanner(System.in);
int diameter;
int pizzaCount;
double totalCost, materialCost, storeCost, labourCost;
DecimalFormat df = new DecimalFormat("######################.##");
String numberFromInput = s.nextLine();
System.out.println("Size:" + numberFromInput);
//do everything you want to do with numberFromInput before it changes.
if(numberFromInput.equals("small")){
diameter = 6;
}else if(numberFromInput.equals("medium")){
diameter = 8;
}else{
System.out.println("Improper size entered. Goodbye.");
System.exit(0);
}
numberFromInput = s.nextLine();
pizzaCount = Integer.parseInt(numberFromInput); //parse string into an integer
System.out.println("Number of pizzas:" + pizzaCount);
System.out.println(dc.format(WHATEVERNUMBERYOUREFORMATING));
//CALCUALTE PIZZA COSTS
}
}