final right greedy