Greedy algo:- Boxing credit