public static ArrayList<Book> SearchbyRates(Double rate, FakeDateBase fakeDateBase){
		ArrayList<Book> result = new ArrayList<Book>();
		for (Book book : fakeDateBase.getBooks()){
			double avarage = 0;
			for (MediadComment comment: book.getRates()){
				avarage +=comment.getRate();
			}
			avarage = avarage/book.getRates().size(); 
			if(avarage >= rate){
				result.add(book);
			}
		}
		return result;
	
	}