public String makingReservation(String type){
	 Random rand=new Random();
	 String resr="";
	 if(type.equals("W")){
	 	for(int i=0;i<wSeats.length;i++) {
		   if(wSeats[i].equals("NA")){
		   		if(i/3==0){
		   		resr="A"+i+(rand.nextInt(899)+100);
		   		wSeats[i]=resr;
		   		}
		   		else{
		   		resr="D"+(i-3)+(rand.nextInt(899)+100);
				wSeats[i]=resr;
				}
				break;
		   }
	    }
	 }
	if(type.equals("A")){
	 	for(int i=0;i<wSeats.length;i++) {
		   if(wSeats[i].equals("NA")){
		   		if(i/3==0){
		   		resr="A"+i+(rand.nextInt(899)+100);
		   		aSeats[i]=resr;
		   		}
		   		else{
		   		resr="D"+(i-3)+(rand.nextInt(899)+100);
		   		aSeats[i]=resr;
		   		}
		   		break;
		   }
	    }
	   
	 }	
		return resr;
	 
	}