solved the candy problem