greedy booking example