// Class to run the simulation:

public class Simulation {

    public static void main(String[] args) {
	
        // Set up initial values:

	int ___________________ ; // cycles so far

	Worker worker1 = _____________________ ;

	Chute  chute1  = _____________________ ;

	Bin    bin1    = _____________________ ;

	Truck  truck1  = _____________________ ;
	
	// Attempt to add boxes to Bin:

        System.out.println("-----------------------------------");

	int boxesToAdd = __________________________; // boxes from Chute so far
	
        while (_____________________________________________________________) {
	    
	    // Boxes go from Chute to Bin

            System.out.println("Adding boxes to Bin:\t"+_____________________);

	    __________++;                          // increment count of cycles

            ____________________________________;  // increment boxes in Bin

            System.out.println("Current boxes in Bin:\t"+___________________);

	    // Boxes go from Bin to Worker to Truck:

            int boxesTaken = ______________________________________________ ;

            if (_____________________________________________________) {

		_____________________________________;

		_____________________________________;

            } else {

		_____________________________________;

		_____________________________________;

            }

            System.out.println("Boxes taken by Worker:\t"+___________________);

            System.out.println("Boxes left in Bin:\t"+_______________________);

            System.out.println("Boxes stored in Truck:\t"+___________________);
            
	    // Reduce Worker's capacity for carrying boxes every 4th cycle:

            if (____________________________________________) {

		___________________________________________ ; 

                System.out.println("New efficiency!\t"+______________________);

            }
	    
	    // Obtain more boxes from Chute:

	    ___________________________________________________ ;

            System.out.println("-----------------------------------");

        }
	
        System.out.println("Final boxes on Truck:\t"+________________________);

        System.out.println("Count of cycles:\t"+_____________________________);

        System.out.println("Leftover boxes in Bin:\t"+_______________________);

    }
        
}
