My ACM Problem's Solution