A mart has $10^7$ items in stock. It has collected billing data for $10^{10}$ customer transactions. Each individual bill can have at most $10$ distinct items on it. The owner of the mart wants to optimise the company inventory and wants a list of the items that appear in at least $2$ percent of the billed transactions. What is the most precise upper bound that can be computed for the number of such items, given the data?
So, two percent of the total bills amounts to $2*10^8$ bills. And the maximum number of times the printing of any item can occur on ALL bills is $10^{10}*10 = 10^{11}$.
The solution shows $10^{11}/(2*10^8) = 500$ but I do not understand this step.