public static double Average(ArrayList<Integer> num)
	{
		double sum = 0.0;
		for (int i = 0; i < num.size(); i++)
			sum += (double)num.get(i);

		double avg = sum / (double)num.size();

		return avg;
	}