it swelter summer day boy want buy ice cream barsAt store n ice cream bar you give array cost length n costsi price ith ice cream bar coin the boy initially coin coin spend want buy ice cream bar possible return maximum number ice cream bar boy buy coin coinsNote the boy buy ice cream bar order example 1input cost 13241 coin 7output 4explanation the boy buy ice cream bar index 0124 total price 1 3 2 1 7example 2input cost 1068778 coin 5output 0explanation the boy afford ice cream barsexample 3input cost 163125 coin 20output 6explanation the boy buy ice cream bar total price 1 6 3 1 2 5 18 Constraintscostslength n1 n 1051 costsi 1051 coin 108