monkey problem