Based on one of many problems of the book The Hate You Give

(Generalization)