//------------// Introduction to Programming Using Java: An Object-Oriented Approach//	Arnow/Weiss//------------// the FindMedian program// Chapter 10, Section 10.1, Page 381import java.io.*;import java.util.*;class FindMedian {	public static void main(String[] a) throws Exception {		BufferedReader f = new BufferedReader(					new InputStreamReader(						new FileInputStream("incomes")));		Vector v = new Vector();		String s;		s = f.readLine();		while (s!=null) {			v.addElement(s);			s = f.readLine();		}		System.out.println(v.elementAt(v.size()/2));	}}