Duplicated if and ternary for storesales for a better loop. Added if and ternary for etSales, set min etSales to 30.