public void Return(int isbn) {
    int flag=0;

        for(int i=1;i<=5;i++)
            flag=B[i].Return(isbn);

        if(flag==1)
            System.out.println("\nBook re taken successfully\n");
        else
            System.out.println("Sorry! please talk to the librarian\n");
    }