Rotten potatoes for assignment 3