import java.util.ArrayList;

public class ReviewAnalysis
{
	private Review[] stuff;
	
	public ReviewAnalysis( int s)
	{
		stuff = new Review[s];
	}
	
	public void add( int x, Review r )
	{
		stuff[x] = r;
	}
	
	public double getAverageRating()
	{
		double a = 0;
		//write the code for Part A
		return a;
	}
	
	public ArrayList<String> collectComments()
	{
		//write the code for Part B
		return null;
	}
}