Greedy algorithm based on =/=s done, about 2 debug