public static void main(String[] args) throws InterruptedException{
		WaitNotifyDemo demo=new WaitNotifyDemo();
		Thread t=new Thread(demo);
		Reader r=new Reader(demo);
		Thread[] readers=new Thread[5];
		for(int i=0;i<readers.length;i++){
			readers[i]=new Thread(r);
			readers[i].start();
		}
		t.start();
	}