Doubt on editorial

https://codeforces.com/problemset/problem/1539/D

in thel officila editorial why its said that// If all prices are 2, then we will not make the answer worse by buying the item with max bibi.//
because 50 ercent discount can be appied if the cp is 2

Did you try taking some example test cases and dry-running your logic and the one given in the editorial, on it?

I was having a problem in understanding the logic only so i looked at the editorial and there I cannot understand that line.PLease help me there

Please reply sir for this

There are many solutions for this problem on youtube.
https://www.youtube.com/results?search_query=codeforces+PriceFixed
Please refer to this link.