apple pie's submission of Too many items | CodeChef