finished demand-4: handle exception when there are more than 10 products