greedy oracle