public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		HeapOperation obj = new HeapOperation(10000, "Median.txt");
		obj.MedianMaintanance();

		int sum = 0;
		for (int i = 0; i < 10000; i++) {
			System.out.println((i + 1) + ":" + obj.medianArray[i]);
			sum += obj.medianArray[i];
		}

		System.out.println("sum=" + sum);
		System.out.println("sum%10000 =" + sum % 10000);
	}